Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for libXv 1.0.13.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxv/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 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 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     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="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    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 case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 
    188   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    189     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    192     PATH=/empty FPATH=/empty; export PATH FPATH
    193     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    194       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    195 test \$(( 1 + 1 )) = 2 || exit 1"
    196   if (eval "$as_required") 2>/dev/null
    197 then :
    198   as_have_required=yes
    199 else case e in #(
    200   e) as_have_required=no ;;
    201 esac
    202 fi
    203   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    204 then :
    205 
    206 else case e in #(
    207   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    208 as_found=false
    209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    210 do
    211   IFS=$as_save_IFS
    212   case $as_dir in #(((
    213     '') as_dir=./ ;;
    214     */) ;;
    215     *) as_dir=$as_dir/ ;;
    216   esac
    217   as_found=:
    218   case $as_dir in #(
    219 	 /*)
    220 	   for as_base in sh bash ksh sh5; do
    221 	     # Try only shells that exist, to save several forks.
    222 	     as_shell=$as_dir$as_base
    223 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    224 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    225 then :
    226   CONFIG_SHELL=$as_shell as_have_required=yes
    227 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    228 then :
    229   break 2
    230 fi
    231 fi
    232 	   done;;
    233        esac
    234   as_found=false
    235 done
    236 IFS=$as_save_IFS
    237 if $as_found
    238 then :
    239 
    240 else case e in #(
    241   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    243 then :
    244   CONFIG_SHELL=$SHELL as_have_required=yes
    245 fi ;;
    246 esac
    247 fi
    248 
    249 
    250       if test "x$CONFIG_SHELL" != x
    251 then :
    252   export CONFIG_SHELL
    253              # We cannot yet assume a decent shell, so we have to provide a
    254 # neutralization value for shells without unset; and this also
    255 # works around shells that cannot unset nonexistent variables.
    256 # Preserve -v and -x to the replacement shell.
    257 BASH_ENV=/dev/null
    258 ENV=/dev/null
    259 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    260 case $- in # ((((
    261   *v*x* | *x*v* ) as_opts=-vx ;;
    262   *v* ) as_opts=-v ;;
    263   *x* ) as_opts=-x ;;
    264   * ) as_opts= ;;
    265 esac
    266 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    267 # Admittedly, this is quite paranoid, since all the known shells bail
    268 # out after a failed 'exec'.
    269 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    270 exit 255
    271 fi
    272 
    273     if test x$as_have_required = xno
    274 then :
    275   printf "%s\n" "$0: This script requires a shell more modern than all"
    276   printf "%s\n" "$0: the shells that I found on your system."
    277   if test ${ZSH_VERSION+y} ; then
    278     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    279     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    280   else
    281     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    282 $0: https://gitlab.freedesktop.org/xorg/lib/libxv/-/issues
    283 $0: about your system, including any error possibly output
    284 $0: before this message. Then install a modern shell, or
    285 $0: manually run the script under such a shell if you do
    286 $0: have one."
    287   fi
    288   exit 1
    289 fi ;;
    290 esac
    291 fi
    292 fi
    293 SHELL=${CONFIG_SHELL-/bin/sh}
    294 export SHELL
    295 # Unset more variables known to interfere with behavior of common tools.
    296 CLICOLOR_FORCE= GREP_OPTIONS=
    297 unset CLICOLOR_FORCE GREP_OPTIONS
    298 
    299 ## --------------------- ##
    300 ## M4sh Shell Functions. ##
    301 ## --------------------- ##
    302 # as_fn_unset VAR
    303 # ---------------
    304 # Portably unset VAR.
    305 as_fn_unset ()
    306 {
    307   { eval $1=; unset $1;}
    308 }
    309 as_unset=as_fn_unset
    310 
    311 
    312 # as_fn_set_status STATUS
    313 # -----------------------
    314 # Set $? to STATUS, without forking.
    315 as_fn_set_status ()
    316 {
    317   return $1
    318 } # as_fn_set_status
    319 
    320 # as_fn_exit STATUS
    321 # -----------------
    322 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    323 as_fn_exit ()
    324 {
    325   set +e
    326   as_fn_set_status $1
    327   exit $1
    328 } # as_fn_exit
    329 
    330 # as_fn_mkdir_p
    331 # -------------
    332 # Create "$as_dir" as a directory, including parents if necessary.
    333 as_fn_mkdir_p ()
    334 {
    335 
    336   case $as_dir in #(
    337   -*) as_dir=./$as_dir;;
    338   esac
    339   test -d "$as_dir" || eval $as_mkdir_p || {
    340     as_dirs=
    341     while :; do
    342       case $as_dir in #(
    343       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    344       *) as_qdir=$as_dir;;
    345       esac
    346       as_dirs="'$as_qdir' $as_dirs"
    347       as_dir=`$as_dirname -- "$as_dir" ||
    348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    349 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    350 	 X"$as_dir" : 'X\(//\)$' \| \
    351 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    352 printf "%s\n" X"$as_dir" |
    353     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\/\)[^/].*/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)$/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\).*/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  s/.*/./; q'`
    370       test -d "$as_dir" && break
    371     done
    372     test -z "$as_dirs" || eval "mkdir $as_dirs"
    373   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    374 
    375 
    376 } # as_fn_mkdir_p
    377 
    378 # as_fn_executable_p FILE
    379 # -----------------------
    380 # Test if FILE is an executable regular file.
    381 as_fn_executable_p ()
    382 {
    383   test -f "$1" && test -x "$1"
    384 } # as_fn_executable_p
    385 # as_fn_append VAR VALUE
    386 # ----------------------
    387 # Append the text in VALUE to the end of the definition contained in VAR. Take
    388 # advantage of any shell optimizations that allow amortized linear growth over
    389 # repeated appends, instead of the typical quadratic growth present in naive
    390 # implementations.
    391 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    392 then :
    393   eval 'as_fn_append ()
    394   {
    395     eval $1+=\$2
    396   }'
    397 else case e in #(
    398   e) as_fn_append ()
    399   {
    400     eval $1=\$$1\$2
    401   } ;;
    402 esac
    403 fi # as_fn_append
    404 
    405 # as_fn_arith ARG...
    406 # ------------------
    407 # Perform arithmetic evaluation on the ARGs, and store the result in the
    408 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    409 # must be portable across $(()) and expr.
    410 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    411 then :
    412   eval 'as_fn_arith ()
    413   {
    414     as_val=$(( $* ))
    415   }'
    416 else case e in #(
    417   e) as_fn_arith ()
    418   {
    419     as_val=`expr "$@" || test $? -eq 1`
    420   } ;;
    421 esac
    422 fi # as_fn_arith
    423 
    424 
    425 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    426 # ----------------------------------------
    427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    429 # script with STATUS, using 1 if that was 0.
    430 as_fn_error ()
    431 {
    432   as_status=$1; test $as_status -eq 0 && as_status=1
    433   if test "$4"; then
    434     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    435     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    436   fi
    437   printf "%s\n" "$as_me: error: $2" >&2
    438   as_fn_exit $as_status
    439 } # as_fn_error
    440 
    441 if expr a : '\(a\)' >/dev/null 2>&1 &&
    442    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    443   as_expr=expr
    444 else
    445   as_expr=false
    446 fi
    447 
    448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    449   as_basename=basename
    450 else
    451   as_basename=false
    452 fi
    453 
    454 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    455   as_dirname=dirname
    456 else
    457   as_dirname=false
    458 fi
    459 
    460 as_me=`$as_basename -- "$0" ||
    461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    462 	 X"$0" : 'X\(//\)$' \| \
    463 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    464 printf "%s\n" X/"$0" |
    465     sed '/^.*\/\([^/][^/]*\)\/*$/{
    466 	    s//\1/
    467 	    q
    468 	  }
    469 	  /^X\/\(\/\/\)$/{
    470 	    s//\1/
    471 	    q
    472 	  }
    473 	  /^X\/\(\/\).*/{
    474 	    s//\1/
    475 	    q
    476 	  }
    477 	  s/.*/./; q'`
    478 
    479 # Avoid depending upon Character Ranges.
    480 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    481 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    482 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    483 as_cr_digits='0123456789'
    484 as_cr_alnum=$as_cr_Letters$as_cr_digits
    485 
    486 
    487   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    488   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    489   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    490   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    491   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    492   sed -n '
    493     p
    494     /[$]LINENO/=
    495   ' <$as_myself |
    496     sed '
    497       t clear
    498       :clear
    499       s/[$]LINENO.*/&-/
    500       t lineno
    501       b
    502       :lineno
    503       N
    504       :loop
    505       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    506       t loop
    507       s/-\n.*//
    508     ' >$as_me.lineno &&
    509   chmod +x "$as_me.lineno" ||
    510     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    511 
    512   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    513   # already done that, so ensure we don't try to do so again and fall
    514   # in an infinite loop.  This has already happened in practice.
    515   _as_can_reexec=no; export _as_can_reexec
    516   # Don't try to exec as it changes $[0], causing all sort of problems
    517   # (the dirname of $[0] is not the place where we might find the
    518   # original and so on.  Autoconf is especially sensitive to this).
    519   . "./$as_me.lineno"
    520   # Exit status is that of the last command.
    521   exit
    522 }
    523 
    524 
    525 # Determine whether it's possible to make 'echo' print without a newline.
    526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    527 # for compatibility with existing Makefiles.
    528 ECHO_C= ECHO_N= ECHO_T=
    529 case `echo -n x` in #(((((
    530 -n*)
    531   case `echo 'xy\c'` in
    532   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    533   xy)  ECHO_C='\c';;
    534   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    535        ECHO_T='	';;
    536   esac;;
    537 *)
    538   ECHO_N='-n';;
    539 esac
    540 
    541 # For backward compatibility with old third-party macros, we provide
    542 # the shell variables $as_echo and $as_echo_n.  New code should use
    543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    544 as_echo='printf %s\n'
    545 as_echo_n='printf %s'
    546 
    547 rm -f conf$$ conf$$.exe conf$$.file
    548 if test -d conf$$.dir; then
    549   rm -f conf$$.dir/conf$$.file
    550 else
    551   rm -f conf$$.dir
    552   mkdir conf$$.dir 2>/dev/null
    553 fi
    554 if (echo >conf$$.file) 2>/dev/null; then
    555   if ln -s conf$$.file conf$$ 2>/dev/null; then
    556     as_ln_s='ln -s'
    557     # ... but there are two gotchas:
    558     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    559     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    560     # In both cases, we have to default to 'cp -pR'.
    561     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    562       as_ln_s='cp -pR'
    563   elif ln conf$$.file conf$$ 2>/dev/null; then
    564     as_ln_s=ln
    565   else
    566     as_ln_s='cp -pR'
    567   fi
    568 else
    569   as_ln_s='cp -pR'
    570 fi
    571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    572 rmdir conf$$.dir 2>/dev/null
    573 
    574 if mkdir -p . 2>/dev/null; then
    575   as_mkdir_p='mkdir -p "$as_dir"'
    576 else
    577   test -d ./-p && rmdir ./-p
    578   as_mkdir_p=false
    579 fi
    580 
    581 as_test_x='test -x'
    582 as_executable_p=as_fn_executable_p
    583 
    584 # Sed expression to map a string onto a valid CPP name.
    585 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    586 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    587 
    588 # Sed expression to map a string onto a valid variable name.
    589 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    590 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    591 
    592 SHELL=${CONFIG_SHELL-/bin/sh}
    593 
    594 
    595 test -n "$DJDIR" || exec 7<&0 </dev/null
    596 exec 6>&1
    597 
    598 # Name of the host.
    599 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    600 # so uname gets run too.
    601 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    602 
    603 #
    604 # Initializations.
    605 #
    606 ac_default_prefix=/usr/local
    607 ac_clean_files=
    608 ac_config_libobj_dir=.
    609 LIBOBJS=
    610 cross_compiling=no
    611 subdirs=
    612 MFLAGS=
    613 MAKEFLAGS=
    614 
    615 # Identity of this package.
    616 PACKAGE_NAME='libXv'
    617 PACKAGE_TARNAME='libXv'
    618 PACKAGE_VERSION='1.0.13'
    619 PACKAGE_STRING='libXv 1.0.13'
    620 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxv/-/issues'
    621 PACKAGE_URL=''
    622 
    623 ac_unique_file="Makefile.am"
    624 # Factoring default headers for most tests.
    625 ac_includes_default="\
    626 #include <stddef.h>
    627 #ifdef HAVE_STDIO_H
    628 # include <stdio.h>
    629 #endif
    630 #ifdef HAVE_STDLIB_H
    631 # include <stdlib.h>
    632 #endif
    633 #ifdef HAVE_STRING_H
    634 # include <string.h>
    635 #endif
    636 #ifdef HAVE_INTTYPES_H
    637 # include <inttypes.h>
    638 #endif
    639 #ifdef HAVE_STDINT_H
    640 # include <stdint.h>
    641 #endif
    642 #ifdef HAVE_STRINGS_H
    643 # include <strings.h>
    644 #endif
    645 #ifdef HAVE_SYS_TYPES_H
    646 # include <sys/types.h>
    647 #endif
    648 #ifdef HAVE_SYS_STAT_H
    649 # include <sys/stat.h>
    650 #endif
    651 #ifdef HAVE_UNISTD_H
    652 # include <unistd.h>
    653 #endif"
    654 
    655 ac_header_c_list=
    656 ac_subst_vars='am__EXEEXT_FALSE
    657 am__EXEEXT_TRUE
    658 LTLIBOBJS
    659 LIBOBJS
    660 MAKE_LINT_LIB_FALSE
    661 MAKE_LINT_LIB_TRUE
    662 LINTLIB
    663 LINT_FALSE
    664 LINT_TRUE
    665 LINT_FLAGS
    666 LINT
    667 XV_LIBS
    668 XV_CFLAGS
    669 XTMALLOC_ZERO_CFLAGS
    670 XMALLOC_ZERO_CFLAGS
    671 MALLOC_ZERO_CFLAGS
    672 MAN_SUBSTS
    673 XORG_MAN_PAGE
    674 ADMIN_MAN_DIR
    675 DRIVER_MAN_DIR
    676 MISC_MAN_DIR
    677 FILE_MAN_DIR
    678 LIB_MAN_DIR
    679 APP_MAN_DIR
    680 ADMIN_MAN_SUFFIX
    681 DRIVER_MAN_SUFFIX
    682 MISC_MAN_SUFFIX
    683 FILE_MAN_SUFFIX
    684 LIB_MAN_SUFFIX
    685 APP_MAN_SUFFIX
    686 INSTALL_CMD
    687 PKG_CONFIG_LIBDIR
    688 PKG_CONFIG_PATH
    689 PKG_CONFIG
    690 CHANGELOG_CMD
    691 STRICT_CFLAGS
    692 CWARNFLAGS
    693 BASE_CFLAGS
    694 LT_SYS_LIBRARY_PATH
    695 OTOOL64
    696 OTOOL
    697 LIPO
    698 NMEDIT
    699 DSYMUTIL
    700 MANIFEST_TOOL
    701 RANLIB
    702 ac_ct_AR
    703 AR
    704 DLLTOOL
    705 OBJDUMP
    706 FILECMD
    707 LN_S
    708 NM
    709 ac_ct_DUMPBIN
    710 DUMPBIN
    711 LD
    712 FGREP
    713 EGREP
    714 GREP
    715 SED
    716 am__fastdepCC_FALSE
    717 am__fastdepCC_TRUE
    718 CCDEPMODE
    719 am__nodep
    720 AMDEPBACKSLASH
    721 AMDEP_FALSE
    722 AMDEP_TRUE
    723 am__include
    724 DEPDIR
    725 OBJEXT
    726 EXEEXT
    727 ac_ct_CC
    728 CPPFLAGS
    729 LDFLAGS
    730 CFLAGS
    731 CC
    732 host_os
    733 host_vendor
    734 host_cpu
    735 host
    736 build_os
    737 build_vendor
    738 build_cpu
    739 build
    740 LIBTOOL
    741 am__xargs_n
    742 am__rm_f_notfound
    743 AM_BACKSLASH
    744 AM_DEFAULT_VERBOSITY
    745 AM_DEFAULT_V
    746 AM_V
    747 CSCOPE
    748 ETAGS
    749 CTAGS
    750 am__untar
    751 am__tar
    752 AMTAR
    753 am__leading_dot
    754 SET_MAKE
    755 AWK
    756 mkdir_p
    757 MKDIR_P
    758 INSTALL_STRIP_PROGRAM
    759 STRIP
    760 install_sh
    761 MAKEINFO
    762 AUTOHEADER
    763 AUTOMAKE
    764 AUTOCONF
    765 ACLOCAL
    766 VERSION
    767 PACKAGE
    768 CYGPATH_W
    769 am__isrc
    770 INSTALL_DATA
    771 INSTALL_SCRIPT
    772 INSTALL_PROGRAM
    773 target_alias
    774 host_alias
    775 build_alias
    776 LIBS
    777 ECHO_T
    778 ECHO_N
    779 ECHO_C
    780 DEFS
    781 mandir
    782 localedir
    783 libdir
    784 psdir
    785 pdfdir
    786 dvidir
    787 htmldir
    788 infodir
    789 docdir
    790 oldincludedir
    791 includedir
    792 runstatedir
    793 localstatedir
    794 sharedstatedir
    795 sysconfdir
    796 datadir
    797 datarootdir
    798 libexecdir
    799 sbindir
    800 bindir
    801 program_transform_name
    802 prefix
    803 exec_prefix
    804 PACKAGE_URL
    805 PACKAGE_BUGREPORT
    806 PACKAGE_STRING
    807 PACKAGE_VERSION
    808 PACKAGE_TARNAME
    809 PACKAGE_NAME
    810 PATH_SEPARATOR
    811 SHELL
    812 am__quote'
    813 ac_subst_files=''
    814 ac_user_opts='
    815 enable_option_checking
    816 enable_silent_rules
    817 enable_shared
    818 enable_static
    819 enable_pic
    820 with_pic
    821 enable_fast_install
    822 enable_aix_soname
    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 enable_lint_library
    833 '
    834       ac_precious_vars='build_alias
    835 host_alias
    836 target_alias
    837 CC
    838 CFLAGS
    839 LDFLAGS
    840 LIBS
    841 CPPFLAGS
    842 LT_SYS_LIBRARY_PATH
    843 PKG_CONFIG
    844 PKG_CONFIG_PATH
    845 PKG_CONFIG_LIBDIR
    846 XV_CFLAGS
    847 XV_LIBS
    848 LINT
    849 LINT_FLAGS'
    850 
    851 
    852 # Initialize some variables set by options.
    853 ac_init_help=
    854 ac_init_version=false
    855 ac_unrecognized_opts=
    856 ac_unrecognized_sep=
    857 # The variables have the same names as the options, with
    858 # dashes changed to underlines.
    859 cache_file=/dev/null
    860 exec_prefix=NONE
    861 no_create=
    862 no_recursion=
    863 prefix=NONE
    864 program_prefix=NONE
    865 program_suffix=NONE
    866 program_transform_name=s,x,x,
    867 silent=
    868 site=
    869 srcdir=
    870 verbose=
    871 x_includes=NONE
    872 x_libraries=NONE
    873 
    874 # Installation directory options.
    875 # These are left unexpanded so users can "make install exec_prefix=/foo"
    876 # and all the variables that are supposed to be based on exec_prefix
    877 # by default will actually change.
    878 # Use braces instead of parens because sh, perl, etc. also accept them.
    879 # (The list follows the same order as the GNU Coding Standards.)
    880 bindir='${exec_prefix}/bin'
    881 sbindir='${exec_prefix}/sbin'
    882 libexecdir='${exec_prefix}/libexec'
    883 datarootdir='${prefix}/share'
    884 datadir='${datarootdir}'
    885 sysconfdir='${prefix}/etc'
    886 sharedstatedir='${prefix}/com'
    887 localstatedir='${prefix}/var'
    888 runstatedir='${localstatedir}/run'
    889 includedir='${prefix}/include'
    890 oldincludedir='/usr/include'
    891 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    892 infodir='${datarootdir}/info'
    893 htmldir='${docdir}'
    894 dvidir='${docdir}'
    895 pdfdir='${docdir}'
    896 psdir='${docdir}'
    897 libdir='${exec_prefix}/lib'
    898 localedir='${datarootdir}/locale'
    899 mandir='${datarootdir}/man'
    900 
    901 ac_prev=
    902 ac_dashdash=
    903 for ac_option
    904 do
    905   # If the previous option needs an argument, assign it.
    906   if test -n "$ac_prev"; then
    907     eval $ac_prev=\$ac_option
    908     ac_prev=
    909     continue
    910   fi
    911 
    912   case $ac_option in
    913   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    914   *=)   ac_optarg= ;;
    915   *)    ac_optarg=yes ;;
    916   esac
    917 
    918   case $ac_dashdash$ac_option in
    919   --)
    920     ac_dashdash=yes ;;
    921 
    922   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    923     ac_prev=bindir ;;
    924   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    925     bindir=$ac_optarg ;;
    926 
    927   -build | --build | --buil | --bui | --bu)
    928     ac_prev=build_alias ;;
    929   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    930     build_alias=$ac_optarg ;;
    931 
    932   -cache-file | --cache-file | --cache-fil | --cache-fi \
    933   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    934     ac_prev=cache_file ;;
    935   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    936   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    937     cache_file=$ac_optarg ;;
    938 
    939   --config-cache | -C)
    940     cache_file=config.cache ;;
    941 
    942   -datadir | --datadir | --datadi | --datad)
    943     ac_prev=datadir ;;
    944   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    945     datadir=$ac_optarg ;;
    946 
    947   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    948   | --dataroo | --dataro | --datar)
    949     ac_prev=datarootdir ;;
    950   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    951   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    952     datarootdir=$ac_optarg ;;
    953 
    954   -disable-* | --disable-*)
    955     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    956     # Reject names that are not valid shell variable names.
    957     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    958       as_fn_error $? "invalid feature name: '$ac_useropt'"
    959     ac_useropt_orig=$ac_useropt
    960     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    961     case $ac_user_opts in
    962       *"
    963 "enable_$ac_useropt"
    964 "*) ;;
    965       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    966 	 ac_unrecognized_sep=', ';;
    967     esac
    968     eval enable_$ac_useropt=no ;;
    969 
    970   -docdir | --docdir | --docdi | --doc | --do)
    971     ac_prev=docdir ;;
    972   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    973     docdir=$ac_optarg ;;
    974 
    975   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    976     ac_prev=dvidir ;;
    977   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    978     dvidir=$ac_optarg ;;
    979 
    980   -enable-* | --enable-*)
    981     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    982     # Reject names that are not valid shell variable names.
    983     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    984       as_fn_error $? "invalid feature name: '$ac_useropt'"
    985     ac_useropt_orig=$ac_useropt
    986     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    987     case $ac_user_opts in
    988       *"
    989 "enable_$ac_useropt"
    990 "*) ;;
    991       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    992 	 ac_unrecognized_sep=', ';;
    993     esac
    994     eval enable_$ac_useropt=\$ac_optarg ;;
    995 
    996   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    997   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    998   | --exec | --exe | --ex)
    999     ac_prev=exec_prefix ;;
   1000   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1001   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1002   | --exec=* | --exe=* | --ex=*)
   1003     exec_prefix=$ac_optarg ;;
   1004 
   1005   -gas | --gas | --ga | --g)
   1006     # Obsolete; use --with-gas.
   1007     with_gas=yes ;;
   1008 
   1009   -help | --help | --hel | --he | -h)
   1010     ac_init_help=long ;;
   1011   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1012     ac_init_help=recursive ;;
   1013   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1014     ac_init_help=short ;;
   1015 
   1016   -host | --host | --hos | --ho)
   1017     ac_prev=host_alias ;;
   1018   -host=* | --host=* | --hos=* | --ho=*)
   1019     host_alias=$ac_optarg ;;
   1020 
   1021   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1022     ac_prev=htmldir ;;
   1023   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1024   | --ht=*)
   1025     htmldir=$ac_optarg ;;
   1026 
   1027   -includedir | --includedir | --includedi | --included | --include \
   1028   | --includ | --inclu | --incl | --inc)
   1029     ac_prev=includedir ;;
   1030   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1031   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1032     includedir=$ac_optarg ;;
   1033 
   1034   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1035     ac_prev=infodir ;;
   1036   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1037     infodir=$ac_optarg ;;
   1038 
   1039   -libdir | --libdir | --libdi | --libd)
   1040     ac_prev=libdir ;;
   1041   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1042     libdir=$ac_optarg ;;
   1043 
   1044   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1045   | --libexe | --libex | --libe)
   1046     ac_prev=libexecdir ;;
   1047   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1048   | --libexe=* | --libex=* | --libe=*)
   1049     libexecdir=$ac_optarg ;;
   1050 
   1051   -localedir | --localedir | --localedi | --localed | --locale)
   1052     ac_prev=localedir ;;
   1053   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1054     localedir=$ac_optarg ;;
   1055 
   1056   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1057   | --localstate | --localstat | --localsta | --localst | --locals)
   1058     ac_prev=localstatedir ;;
   1059   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1060   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1061     localstatedir=$ac_optarg ;;
   1062 
   1063   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1064     ac_prev=mandir ;;
   1065   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1066     mandir=$ac_optarg ;;
   1067 
   1068   -nfp | --nfp | --nf)
   1069     # Obsolete; use --without-fp.
   1070     with_fp=no ;;
   1071 
   1072   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1073   | --no-cr | --no-c | -n)
   1074     no_create=yes ;;
   1075 
   1076   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1077   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1078     no_recursion=yes ;;
   1079 
   1080   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1081   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1082   | --oldin | --oldi | --old | --ol | --o)
   1083     ac_prev=oldincludedir ;;
   1084   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1085   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1086   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1087     oldincludedir=$ac_optarg ;;
   1088 
   1089   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1090     ac_prev=prefix ;;
   1091   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1092     prefix=$ac_optarg ;;
   1093 
   1094   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1095   | --program-pre | --program-pr | --program-p)
   1096     ac_prev=program_prefix ;;
   1097   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1098   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1099     program_prefix=$ac_optarg ;;
   1100 
   1101   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1102   | --program-suf | --program-su | --program-s)
   1103     ac_prev=program_suffix ;;
   1104   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1105   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1106     program_suffix=$ac_optarg ;;
   1107 
   1108   -program-transform-name | --program-transform-name \
   1109   | --program-transform-nam | --program-transform-na \
   1110   | --program-transform-n | --program-transform- \
   1111   | --program-transform | --program-transfor \
   1112   | --program-transfo | --program-transf \
   1113   | --program-trans | --program-tran \
   1114   | --progr-tra | --program-tr | --program-t)
   1115     ac_prev=program_transform_name ;;
   1116   -program-transform-name=* | --program-transform-name=* \
   1117   | --program-transform-nam=* | --program-transform-na=* \
   1118   | --program-transform-n=* | --program-transform-=* \
   1119   | --program-transform=* | --program-transfor=* \
   1120   | --program-transfo=* | --program-transf=* \
   1121   | --program-trans=* | --program-tran=* \
   1122   | --progr-tra=* | --program-tr=* | --program-t=*)
   1123     program_transform_name=$ac_optarg ;;
   1124 
   1125   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1126     ac_prev=pdfdir ;;
   1127   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1128     pdfdir=$ac_optarg ;;
   1129 
   1130   -psdir | --psdir | --psdi | --psd | --ps)
   1131     ac_prev=psdir ;;
   1132   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1133     psdir=$ac_optarg ;;
   1134 
   1135   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1136   | -silent | --silent | --silen | --sile | --sil)
   1137     silent=yes ;;
   1138 
   1139   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1140   | --runstate | --runstat | --runsta | --runst | --runs \
   1141   | --run | --ru | --r)
   1142     ac_prev=runstatedir ;;
   1143   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1144   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1145   | --run=* | --ru=* | --r=*)
   1146     runstatedir=$ac_optarg ;;
   1147 
   1148   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1149     ac_prev=sbindir ;;
   1150   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1151   | --sbi=* | --sb=*)
   1152     sbindir=$ac_optarg ;;
   1153 
   1154   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1155   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1156   | --sharedst | --shareds | --shared | --share | --shar \
   1157   | --sha | --sh)
   1158     ac_prev=sharedstatedir ;;
   1159   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1160   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1161   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1162   | --sha=* | --sh=*)
   1163     sharedstatedir=$ac_optarg ;;
   1164 
   1165   -site | --site | --sit)
   1166     ac_prev=site ;;
   1167   -site=* | --site=* | --sit=*)
   1168     site=$ac_optarg ;;
   1169 
   1170   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1171     ac_prev=srcdir ;;
   1172   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1173     srcdir=$ac_optarg ;;
   1174 
   1175   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1176   | --syscon | --sysco | --sysc | --sys | --sy)
   1177     ac_prev=sysconfdir ;;
   1178   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1179   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1180     sysconfdir=$ac_optarg ;;
   1181 
   1182   -target | --target | --targe | --targ | --tar | --ta | --t)
   1183     ac_prev=target_alias ;;
   1184   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1185     target_alias=$ac_optarg ;;
   1186 
   1187   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1188     verbose=yes ;;
   1189 
   1190   -version | --version | --versio | --versi | --vers | -V)
   1191     ac_init_version=: ;;
   1192 
   1193   -with-* | --with-*)
   1194     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1195     # Reject names that are not valid shell variable names.
   1196     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1197       as_fn_error $? "invalid package name: '$ac_useropt'"
   1198     ac_useropt_orig=$ac_useropt
   1199     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1200     case $ac_user_opts in
   1201       *"
   1202 "with_$ac_useropt"
   1203 "*) ;;
   1204       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1205 	 ac_unrecognized_sep=', ';;
   1206     esac
   1207     eval with_$ac_useropt=\$ac_optarg ;;
   1208 
   1209   -without-* | --without-*)
   1210     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1211     # Reject names that are not valid shell variable names.
   1212     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1213       as_fn_error $? "invalid package name: '$ac_useropt'"
   1214     ac_useropt_orig=$ac_useropt
   1215     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1216     case $ac_user_opts in
   1217       *"
   1218 "with_$ac_useropt"
   1219 "*) ;;
   1220       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1221 	 ac_unrecognized_sep=', ';;
   1222     esac
   1223     eval with_$ac_useropt=no ;;
   1224 
   1225   --x)
   1226     # Obsolete; use --with-x.
   1227     with_x=yes ;;
   1228 
   1229   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1230   | --x-incl | --x-inc | --x-in | --x-i)
   1231     ac_prev=x_includes ;;
   1232   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1233   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1234     x_includes=$ac_optarg ;;
   1235 
   1236   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1237   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1238     ac_prev=x_libraries ;;
   1239   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1240   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1241     x_libraries=$ac_optarg ;;
   1242 
   1243   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1244 Try '$0 --help' for more information"
   1245     ;;
   1246 
   1247   *=*)
   1248     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1249     # Reject names that are not valid shell variable names.
   1250     case $ac_envvar in #(
   1251       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1252       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1253     esac
   1254     eval $ac_envvar=\$ac_optarg
   1255     export $ac_envvar ;;
   1256 
   1257   *)
   1258     # FIXME: should be removed in autoconf 3.0.
   1259     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1260     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1261       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1262     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1263     ;;
   1264 
   1265   esac
   1266 done
   1267 
   1268 if test -n "$ac_prev"; then
   1269   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1270   as_fn_error $? "missing argument to $ac_option"
   1271 fi
   1272 
   1273 if test -n "$ac_unrecognized_opts"; then
   1274   case $enable_option_checking in
   1275     no) ;;
   1276     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1277     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1278   esac
   1279 fi
   1280 
   1281 # Check all directory arguments for consistency.
   1282 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1283 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1284 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1285 		libdir localedir mandir runstatedir
   1286 do
   1287   eval ac_val=\$$ac_var
   1288   # Remove trailing slashes.
   1289   case $ac_val in
   1290     */ )
   1291       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1292       eval $ac_var=\$ac_val;;
   1293   esac
   1294   # Be sure to have absolute directory names.
   1295   case $ac_val in
   1296     [\\/$]* | ?:[\\/]* )  continue;;
   1297     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1298   esac
   1299   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1300 done
   1301 
   1302 # There might be people who depend on the old broken behavior: '$host'
   1303 # used to hold the argument of --host etc.
   1304 # FIXME: To remove some day.
   1305 build=$build_alias
   1306 host=$host_alias
   1307 target=$target_alias
   1308 
   1309 # FIXME: To remove some day.
   1310 if test "x$host_alias" != x; then
   1311   if test "x$build_alias" = x; then
   1312     cross_compiling=maybe
   1313   elif test "x$build_alias" != "x$host_alias"; then
   1314     cross_compiling=yes
   1315   fi
   1316 fi
   1317 
   1318 ac_tool_prefix=
   1319 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1320 
   1321 test "$silent" = yes && exec 6>/dev/null
   1322 
   1323 
   1324 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1325 ac_ls_di=`ls -di .` &&
   1326 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1327   as_fn_error $? "working directory cannot be determined"
   1328 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1329   as_fn_error $? "pwd does not report name of working directory"
   1330 
   1331 
   1332 # Find the source files, if location was not specified.
   1333 if test -z "$srcdir"; then
   1334   ac_srcdir_defaulted=yes
   1335   # Try the directory containing this script, then the parent directory.
   1336   ac_confdir=`$as_dirname -- "$as_myself" ||
   1337 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1338 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1339 	 X"$as_myself" : 'X\(//\)$' \| \
   1340 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1341 printf "%s\n" X"$as_myself" |
   1342     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1343 	    s//\1/
   1344 	    q
   1345 	  }
   1346 	  /^X\(\/\/\)[^/].*/{
   1347 	    s//\1/
   1348 	    q
   1349 	  }
   1350 	  /^X\(\/\/\)$/{
   1351 	    s//\1/
   1352 	    q
   1353 	  }
   1354 	  /^X\(\/\).*/{
   1355 	    s//\1/
   1356 	    q
   1357 	  }
   1358 	  s/.*/./; q'`
   1359   srcdir=$ac_confdir
   1360   if test ! -r "$srcdir/$ac_unique_file"; then
   1361     srcdir=..
   1362   fi
   1363 else
   1364   ac_srcdir_defaulted=no
   1365 fi
   1366 if test ! -r "$srcdir/$ac_unique_file"; then
   1367   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1368   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1369 fi
   1370 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1371 ac_abs_confdir=`(
   1372 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1373 	pwd)`
   1374 # When building in place, set srcdir=.
   1375 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1376   srcdir=.
   1377 fi
   1378 # Remove unnecessary trailing slashes from srcdir.
   1379 # Double slashes in file names in object file debugging info
   1380 # mess up M-x gdb in Emacs.
   1381 case $srcdir in
   1382 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1383 esac
   1384 for ac_var in $ac_precious_vars; do
   1385   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1386   eval ac_env_${ac_var}_value=\$${ac_var}
   1387   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1388   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1389 done
   1390 
   1391 #
   1392 # Report the --help message.
   1393 #
   1394 if test "$ac_init_help" = "long"; then
   1395   # Omit some internal or obsolete options to make the list less imposing.
   1396   # This message is too long to be a string in the A/UX 3.1 sh.
   1397   cat <<_ACEOF
   1398 'configure' configures libXv 1.0.13 to adapt to many kinds of systems.
   1399 
   1400 Usage: $0 [OPTION]... [VAR=VALUE]...
   1401 
   1402 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1403 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1404 
   1405 Defaults for the options are specified in brackets.
   1406 
   1407 Configuration:
   1408   -h, --help              display this help and exit
   1409       --help=short        display options specific to this package
   1410       --help=recursive    display the short help of all the included packages
   1411   -V, --version           display version information and exit
   1412   -q, --quiet, --silent   do not print 'checking ...' messages
   1413       --cache-file=FILE   cache test results in FILE [disabled]
   1414   -C, --config-cache      alias for '--cache-file=config.cache'
   1415   -n, --no-create         do not create output files
   1416       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1417 
   1418 Installation directories:
   1419   --prefix=PREFIX         install architecture-independent files in PREFIX
   1420                           [$ac_default_prefix]
   1421   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1422                           [PREFIX]
   1423 
   1424 By default, 'make install' will install all the files in
   1425 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1426 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1427 for instance '--prefix=\$HOME'.
   1428 
   1429 For better control, use the options below.
   1430 
   1431 Fine tuning of the installation directories:
   1432   --bindir=DIR            user executables [EPREFIX/bin]
   1433   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1434   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1435   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1436   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1437   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1438   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1439   --libdir=DIR            object code libraries [EPREFIX/lib]
   1440   --includedir=DIR        C header files [PREFIX/include]
   1441   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1442   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1443   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1444   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1445   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1446   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1447   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXv]
   1448   --htmldir=DIR           html documentation [DOCDIR]
   1449   --dvidir=DIR            dvi documentation [DOCDIR]
   1450   --pdfdir=DIR            pdf documentation [DOCDIR]
   1451   --psdir=DIR             ps documentation [DOCDIR]
   1452 _ACEOF
   1453 
   1454   cat <<\_ACEOF
   1455 
   1456 Program names:
   1457   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1458   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1459   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1460 
   1461 System types:
   1462   --build=BUILD     configure for building on BUILD [guessed]
   1463   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1464 _ACEOF
   1465 fi
   1466 
   1467 if test -n "$ac_init_help"; then
   1468   case $ac_init_help in
   1469      short | recursive ) echo "Configuration of libXv 1.0.13:";;
   1470    esac
   1471   cat <<\_ACEOF
   1472 
   1473 Optional Features:
   1474   --disable-option-checking  ignore unrecognized --enable/--with options
   1475   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1476   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1477   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1478   --disable-silent-rules  verbose build output (undo: "make V=0")
   1479   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1480   --enable-static[=PKGS]  build static libraries [default=yes]
   1481   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
   1482                           both]
   1483   --enable-fast-install[=PKGS]
   1484                           optimize for fast installation [default=yes]
   1485   --enable-aix-soname=aix|svr4|both
   1486                           shared library versioning (aka "SONAME") variant to
   1487                           provide on AIX, [default=aix].
   1488   --enable-dependency-tracking
   1489                           do not reject slow dependency extractors
   1490   --disable-dependency-tracking
   1491                           speeds up one-time build
   1492   --disable-libtool-lock  avoid locking (might break parallel builds)
   1493   --disable-selective-werror
   1494                           Turn off selective compiler errors. (default:
   1495                           enabled)
   1496   --enable-strict-compilation
   1497                           Enable all warnings from compiler and make them
   1498                           errors (default: disabled)
   1499   --enable-malloc0returnsnull
   1500                           assume malloc(0) can return NULL (default: yes)
   1501   --enable-lint-library   Create lint library (default: disabled)
   1502 
   1503 Optional Packages:
   1504   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1505   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1506   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1507   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1508                           compiler's sysroot if not specified).
   1509   --with-lint             Use a lint-style source code checker (default:
   1510                           disabled)
   1511 
   1512 Some influential environment variables:
   1513   CC          C compiler command
   1514   CFLAGS      C compiler flags
   1515   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1516               nonstandard directory <lib dir>
   1517   LIBS        libraries to pass to the linker, e.g. -l<library>
   1518   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1519               you have headers in a nonstandard directory <include dir>
   1520   LT_SYS_LIBRARY_PATH
   1521               User-defined run-time library search path.
   1522   PKG_CONFIG  path to pkg-config utility
   1523   PKG_CONFIG_PATH
   1524               directories to add to pkg-config's search path
   1525   PKG_CONFIG_LIBDIR
   1526               path overriding pkg-config's built-in search path
   1527   XV_CFLAGS   C compiler flags for XV, overriding pkg-config
   1528   XV_LIBS     linker flags for XV, overriding pkg-config
   1529   LINT        Path to a lint-style command
   1530   LINT_FLAGS  Flags for the lint-style command
   1531 
   1532 Use these variables to override the choices made by 'configure' or to help
   1533 it to find libraries and programs with nonstandard names/locations.
   1534 
   1535 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxv/-/issues>.
   1536 _ACEOF
   1537 ac_status=$?
   1538 fi
   1539 
   1540 if test "$ac_init_help" = "recursive"; then
   1541   # If there are subdirs, report their specific --help.
   1542   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1543     test -d "$ac_dir" ||
   1544       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1545       continue
   1546     ac_builddir=.
   1547 
   1548 case "$ac_dir" in
   1549 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1550 *)
   1551   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1552   # A ".." for each directory in $ac_dir_suffix.
   1553   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1554   case $ac_top_builddir_sub in
   1555   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1556   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1557   esac ;;
   1558 esac
   1559 ac_abs_top_builddir=$ac_pwd
   1560 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1561 # for backward compatibility:
   1562 ac_top_builddir=$ac_top_build_prefix
   1563 
   1564 case $srcdir in
   1565   .)  # We are building in place.
   1566     ac_srcdir=.
   1567     ac_top_srcdir=$ac_top_builddir_sub
   1568     ac_abs_top_srcdir=$ac_pwd ;;
   1569   [\\/]* | ?:[\\/]* )  # Absolute name.
   1570     ac_srcdir=$srcdir$ac_dir_suffix;
   1571     ac_top_srcdir=$srcdir
   1572     ac_abs_top_srcdir=$srcdir ;;
   1573   *) # Relative name.
   1574     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1575     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1576     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1577 esac
   1578 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1579 
   1580     cd "$ac_dir" || { ac_status=$?; continue; }
   1581     # Check for configure.gnu first; this name is used for a wrapper for
   1582     # Metaconfig's "Configure" on case-insensitive file systems.
   1583     if test -f "$ac_srcdir/configure.gnu"; then
   1584       echo &&
   1585       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1586     elif test -f "$ac_srcdir/configure"; then
   1587       echo &&
   1588       $SHELL "$ac_srcdir/configure" --help=recursive
   1589     else
   1590       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1591     fi || ac_status=$?
   1592     cd "$ac_pwd" || { ac_status=$?; break; }
   1593   done
   1594 fi
   1595 
   1596 test -n "$ac_init_help" && exit $ac_status
   1597 if $ac_init_version; then
   1598   cat <<\_ACEOF
   1599 libXv configure 1.0.13
   1600 generated by GNU Autoconf 2.72
   1601 
   1602 Copyright (C) 2023 Free Software Foundation, Inc.
   1603 This configure script is free software; the Free Software Foundation
   1604 gives unlimited permission to copy, distribute and modify it.
   1605 _ACEOF
   1606   exit
   1607 fi
   1608 
   1609 ## ------------------------ ##
   1610 ## Autoconf initialization. ##
   1611 ## ------------------------ ##
   1612 
   1613 # ac_fn_c_try_compile LINENO
   1614 # --------------------------
   1615 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1616 ac_fn_c_try_compile ()
   1617 {
   1618   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1619   rm -f conftest.$ac_objext conftest.beam
   1620   if { { ac_try="$ac_compile"
   1621 case "(($ac_try" in
   1622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1623   *) ac_try_echo=$ac_try;;
   1624 esac
   1625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1626 printf "%s\n" "$ac_try_echo"; } >&5
   1627   (eval "$ac_compile") 2>conftest.err
   1628   ac_status=$?
   1629   if test -s conftest.err; then
   1630     grep -v '^ *+' conftest.err >conftest.er1
   1631     cat conftest.er1 >&5
   1632     mv -f conftest.er1 conftest.err
   1633   fi
   1634   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1635   test $ac_status = 0; } && {
   1636 	 test -z "$ac_c_werror_flag" ||
   1637 	 test ! -s conftest.err
   1638        } && test -s conftest.$ac_objext
   1639 then :
   1640   ac_retval=0
   1641 else case e in #(
   1642   e) printf "%s\n" "$as_me: failed program was:" >&5
   1643 sed 's/^/| /' conftest.$ac_ext >&5
   1644 
   1645 	ac_retval=1 ;;
   1646 esac
   1647 fi
   1648   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1649   as_fn_set_status $ac_retval
   1650 
   1651 } # ac_fn_c_try_compile
   1652 
   1653 # ac_fn_c_try_link LINENO
   1654 # -----------------------
   1655 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1656 ac_fn_c_try_link ()
   1657 {
   1658   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1659   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1660   if { { ac_try="$ac_link"
   1661 case "(($ac_try" in
   1662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1663   *) ac_try_echo=$ac_try;;
   1664 esac
   1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1666 printf "%s\n" "$ac_try_echo"; } >&5
   1667   (eval "$ac_link") 2>conftest.err
   1668   ac_status=$?
   1669   if test -s conftest.err; then
   1670     grep -v '^ *+' conftest.err >conftest.er1
   1671     cat conftest.er1 >&5
   1672     mv -f conftest.er1 conftest.err
   1673   fi
   1674   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1675   test $ac_status = 0; } && {
   1676 	 test -z "$ac_c_werror_flag" ||
   1677 	 test ! -s conftest.err
   1678        } && test -s conftest$ac_exeext && {
   1679 	 test "$cross_compiling" = yes ||
   1680 	 test -x conftest$ac_exeext
   1681        }
   1682 then :
   1683   ac_retval=0
   1684 else case e in #(
   1685   e) printf "%s\n" "$as_me: failed program was:" >&5
   1686 sed 's/^/| /' conftest.$ac_ext >&5
   1687 
   1688 	ac_retval=1 ;;
   1689 esac
   1690 fi
   1691   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1692   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1693   # interfere with the next link command; also delete a directory that is
   1694   # left behind by Apple's compiler.  We do this before executing the actions.
   1695   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1696   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1697   as_fn_set_status $ac_retval
   1698 
   1699 } # ac_fn_c_try_link
   1700 
   1701 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1702 # -------------------------------------------------------
   1703 # Tests whether HEADER exists and can be compiled using the include files in
   1704 # INCLUDES, setting the cache variable VAR accordingly.
   1705 ac_fn_c_check_header_compile ()
   1706 {
   1707   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1708   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1709 printf %s "checking for $2... " >&6; }
   1710 if eval test \${$3+y}
   1711 then :
   1712   printf %s "(cached) " >&6
   1713 else case e in #(
   1714   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1715 /* end confdefs.h.  */
   1716 $4
   1717 #include <$2>
   1718 _ACEOF
   1719 if ac_fn_c_try_compile "$LINENO"
   1720 then :
   1721   eval "$3=yes"
   1722 else case e in #(
   1723   e) eval "$3=no" ;;
   1724 esac
   1725 fi
   1726 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1727 esac
   1728 fi
   1729 eval ac_res=\$$3
   1730 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1731 printf "%s\n" "$ac_res" >&6; }
   1732   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1733 
   1734 } # ac_fn_c_check_header_compile
   1735 
   1736 # ac_fn_c_check_func LINENO FUNC VAR
   1737 # ----------------------------------
   1738 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1739 ac_fn_c_check_func ()
   1740 {
   1741   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1743 printf %s "checking for $2... " >&6; }
   1744 if eval test \${$3+y}
   1745 then :
   1746   printf %s "(cached) " >&6
   1747 else case e in #(
   1748   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1749 /* end confdefs.h.  */
   1750 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1751    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1752 #define $2 innocuous_$2
   1753 
   1754 /* System header to define __stub macros and hopefully few prototypes,
   1755    which can conflict with char $2 (void); below.  */
   1756 
   1757 #include <limits.h>
   1758 #undef $2
   1759 
   1760 /* Override any GCC internal prototype to avoid an error.
   1761    Use char because int might match the return type of a GCC
   1762    builtin and then its argument prototype would still apply.  */
   1763 #ifdef __cplusplus
   1764 extern "C"
   1765 #endif
   1766 char $2 (void);
   1767 /* The GNU C library defines this for functions which it implements
   1768     to always fail with ENOSYS.  Some functions are actually named
   1769     something starting with __ and the normal name is an alias.  */
   1770 #if defined __stub_$2 || defined __stub___$2
   1771 choke me
   1772 #endif
   1773 
   1774 int
   1775 main (void)
   1776 {
   1777 return $2 ();
   1778   ;
   1779   return 0;
   1780 }
   1781 _ACEOF
   1782 if ac_fn_c_try_link "$LINENO"
   1783 then :
   1784   eval "$3=yes"
   1785 else case e in #(
   1786   e) eval "$3=no" ;;
   1787 esac
   1788 fi
   1789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1790     conftest$ac_exeext conftest.$ac_ext ;;
   1791 esac
   1792 fi
   1793 eval ac_res=\$$3
   1794 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1795 printf "%s\n" "$ac_res" >&6; }
   1796   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1797 
   1798 } # ac_fn_c_check_func
   1799 
   1800 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1801 # ------------------------------------------------------------------
   1802 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1803 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1804 ac_fn_check_decl ()
   1805 {
   1806   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1807   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1808   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1809 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1810 if eval test \${$3+y}
   1811 then :
   1812   printf %s "(cached) " >&6
   1813 else case e in #(
   1814   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1815   eval ac_save_FLAGS=\$$6
   1816   as_fn_append $6 " $5"
   1817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1818 /* end confdefs.h.  */
   1819 $4
   1820 int
   1821 main (void)
   1822 {
   1823 #ifndef $as_decl_name
   1824 #ifdef __cplusplus
   1825   (void) $as_decl_use;
   1826 #else
   1827   (void) $as_decl_name;
   1828 #endif
   1829 #endif
   1830 
   1831   ;
   1832   return 0;
   1833 }
   1834 _ACEOF
   1835 if ac_fn_c_try_compile "$LINENO"
   1836 then :
   1837   eval "$3=yes"
   1838 else case e in #(
   1839   e) eval "$3=no" ;;
   1840 esac
   1841 fi
   1842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1843   eval $6=\$ac_save_FLAGS
   1844  ;;
   1845 esac
   1846 fi
   1847 eval ac_res=\$$3
   1848 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1849 printf "%s\n" "$ac_res" >&6; }
   1850   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1851 
   1852 } # ac_fn_check_decl
   1853 ac_configure_args_raw=
   1854 for ac_arg
   1855 do
   1856   case $ac_arg in
   1857   *\'*)
   1858     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1859   esac
   1860   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1861 done
   1862 
   1863 case $ac_configure_args_raw in
   1864   *$as_nl*)
   1865     ac_safe_unquote= ;;
   1866   *)
   1867     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1868     ac_unsafe_a="$ac_unsafe_z#~"
   1869     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1870     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1871 esac
   1872 
   1873 cat >config.log <<_ACEOF
   1874 This file contains any messages produced by compilers while
   1875 running configure, to aid debugging if configure makes a mistake.
   1876 
   1877 It was created by libXv $as_me 1.0.13, which was
   1878 generated by GNU Autoconf 2.72.  Invocation command line was
   1879 
   1880   $ $0$ac_configure_args_raw
   1881 
   1882 _ACEOF
   1883 exec 5>>config.log
   1884 {
   1885 cat <<_ASUNAME
   1886 ## --------- ##
   1887 ## Platform. ##
   1888 ## --------- ##
   1889 
   1890 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1891 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1892 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1893 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1894 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1895 
   1896 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1897 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1898 
   1899 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1900 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1901 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1902 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1903 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1904 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1905 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1906 
   1907 _ASUNAME
   1908 
   1909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1910 for as_dir in $PATH
   1911 do
   1912   IFS=$as_save_IFS
   1913   case $as_dir in #(((
   1914     '') as_dir=./ ;;
   1915     */) ;;
   1916     *) as_dir=$as_dir/ ;;
   1917   esac
   1918     printf "%s\n" "PATH: $as_dir"
   1919   done
   1920 IFS=$as_save_IFS
   1921 
   1922 } >&5
   1923 
   1924 cat >&5 <<_ACEOF
   1925 
   1926 
   1927 ## ----------- ##
   1928 ## Core tests. ##
   1929 ## ----------- ##
   1930 
   1931 _ACEOF
   1932 
   1933 
   1934 # Keep a trace of the command line.
   1935 # Strip out --no-create and --no-recursion so they do not pile up.
   1936 # Strip out --silent because we don't want to record it for future runs.
   1937 # Also quote any args containing shell meta-characters.
   1938 # Make two passes to allow for proper duplicate-argument suppression.
   1939 ac_configure_args=
   1940 ac_configure_args0=
   1941 ac_configure_args1=
   1942 ac_must_keep_next=false
   1943 for ac_pass in 1 2
   1944 do
   1945   for ac_arg
   1946   do
   1947     case $ac_arg in
   1948     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1949     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1950     | -silent | --silent | --silen | --sile | --sil)
   1951       continue ;;
   1952     *\'*)
   1953       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1954     esac
   1955     case $ac_pass in
   1956     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1957     2)
   1958       as_fn_append ac_configure_args1 " '$ac_arg'"
   1959       if test $ac_must_keep_next = true; then
   1960 	ac_must_keep_next=false # Got value, back to normal.
   1961       else
   1962 	case $ac_arg in
   1963 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1964 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1965 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1966 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1967 	    case "$ac_configure_args0 " in
   1968 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1969 	    esac
   1970 	    ;;
   1971 	  -* ) ac_must_keep_next=true ;;
   1972 	esac
   1973       fi
   1974       as_fn_append ac_configure_args " '$ac_arg'"
   1975       ;;
   1976     esac
   1977   done
   1978 done
   1979 { ac_configure_args0=; unset ac_configure_args0;}
   1980 { ac_configure_args1=; unset ac_configure_args1;}
   1981 
   1982 # When interrupted or exit'd, cleanup temporary files, and complete
   1983 # config.log.  We remove comments because anyway the quotes in there
   1984 # would cause problems or look ugly.
   1985 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1986 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1987 trap 'exit_status=$?
   1988   # Sanitize IFS.
   1989   IFS=" ""	$as_nl"
   1990   # Save into config.log some information that might help in debugging.
   1991   {
   1992     echo
   1993 
   1994     printf "%s\n" "## ---------------- ##
   1995 ## Cache variables. ##
   1996 ## ---------------- ##"
   1997     echo
   1998     # The following way of writing the cache mishandles newlines in values,
   1999 (
   2000   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2001     eval ac_val=\$$ac_var
   2002     case $ac_val in #(
   2003     *${as_nl}*)
   2004       case $ac_var in #(
   2005       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2006 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2007       esac
   2008       case $ac_var in #(
   2009       _ | IFS | as_nl) ;; #(
   2010       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2011       *) { eval $ac_var=; unset $ac_var;} ;;
   2012       esac ;;
   2013     esac
   2014   done
   2015   (set) 2>&1 |
   2016     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2017     *${as_nl}ac_space=\ *)
   2018       sed -n \
   2019 	"s/'\''/'\''\\\\'\'''\''/g;
   2020 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2021       ;; #(
   2022     *)
   2023       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2024       ;;
   2025     esac |
   2026     sort
   2027 )
   2028     echo
   2029 
   2030     printf "%s\n" "## ----------------- ##
   2031 ## Output variables. ##
   2032 ## ----------------- ##"
   2033     echo
   2034     for ac_var in $ac_subst_vars
   2035     do
   2036       eval ac_val=\$$ac_var
   2037       case $ac_val in
   2038       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2039       esac
   2040       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2041     done | sort
   2042     echo
   2043 
   2044     if test -n "$ac_subst_files"; then
   2045       printf "%s\n" "## ------------------- ##
   2046 ## File substitutions. ##
   2047 ## ------------------- ##"
   2048       echo
   2049       for ac_var in $ac_subst_files
   2050       do
   2051 	eval ac_val=\$$ac_var
   2052 	case $ac_val in
   2053 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2054 	esac
   2055 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2056       done | sort
   2057       echo
   2058     fi
   2059 
   2060     if test -s confdefs.h; then
   2061       printf "%s\n" "## ----------- ##
   2062 ## confdefs.h. ##
   2063 ## ----------- ##"
   2064       echo
   2065       cat confdefs.h
   2066       echo
   2067     fi
   2068     test "$ac_signal" != 0 &&
   2069       printf "%s\n" "$as_me: caught signal $ac_signal"
   2070     printf "%s\n" "$as_me: exit $exit_status"
   2071   } >&5
   2072   rm -f core *.core core.conftest.* &&
   2073     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2074     exit $exit_status
   2075 ' 0
   2076 for ac_signal in 1 2 13 15; do
   2077   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2078 done
   2079 ac_signal=0
   2080 
   2081 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2082 rm -f -r conftest* confdefs.h
   2083 
   2084 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2085 
   2086 # Predefined preprocessor variables.
   2087 
   2088 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2089 
   2090 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2091 
   2092 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2093 
   2094 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2095 
   2096 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2097 
   2098 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2099 
   2100 
   2101 # Let the site file select an alternate cache file if it wants to.
   2102 # Prefer an explicitly selected file to automatically selected ones.
   2103 if test -n "$CONFIG_SITE"; then
   2104   ac_site_files="$CONFIG_SITE"
   2105 elif test "x$prefix" != xNONE; then
   2106   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2107 else
   2108   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2109 fi
   2110 
   2111 for ac_site_file in $ac_site_files
   2112 do
   2113   case $ac_site_file in #(
   2114   */*) :
   2115      ;; #(
   2116   *) :
   2117     ac_site_file=./$ac_site_file ;;
   2118 esac
   2119   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2120     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2121 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2122     sed 's/^/| /' "$ac_site_file" >&5
   2123     . "$ac_site_file" \
   2124       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2125 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2126 as_fn_error $? "failed to load site script $ac_site_file
   2127 See 'config.log' for more details" "$LINENO" 5; }
   2128   fi
   2129 done
   2130 
   2131 if test -r "$cache_file"; then
   2132   # Some versions of bash will fail to source /dev/null (special files
   2133   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2134   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2135     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2136 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2137     case $cache_file in
   2138       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2139       *)                      . "./$cache_file";;
   2140     esac
   2141   fi
   2142 else
   2143   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2144 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2145   >$cache_file
   2146 fi
   2147 
   2148 # Test code for whether the C compiler supports C89 (global declarations)
   2149 ac_c_conftest_c89_globals='
   2150 /* Does the compiler advertise C89 conformance?
   2151    Do not test the value of __STDC__, because some compilers set it to 0
   2152    while being otherwise adequately conformant. */
   2153 #if !defined __STDC__
   2154 # error "Compiler does not advertise C89 conformance"
   2155 #endif
   2156 
   2157 #include <stddef.h>
   2158 #include <stdarg.h>
   2159 struct stat;
   2160 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2161 struct buf { int x; };
   2162 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2163 static char *e (char **p, int i)
   2164 {
   2165   return p[i];
   2166 }
   2167 static char *f (char * (*g) (char **, int), char **p, ...)
   2168 {
   2169   char *s;
   2170   va_list v;
   2171   va_start (v,p);
   2172   s = g (p, va_arg (v,int));
   2173   va_end (v);
   2174   return s;
   2175 }
   2176 
   2177 /* C89 style stringification. */
   2178 #define noexpand_stringify(a) #a
   2179 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2180 
   2181 /* C89 style token pasting.  Exercises some of the corner cases that
   2182    e.g. old MSVC gets wrong, but not very hard. */
   2183 #define noexpand_concat(a,b) a##b
   2184 #define expand_concat(a,b) noexpand_concat(a,b)
   2185 extern int vA;
   2186 extern int vbee;
   2187 #define aye A
   2188 #define bee B
   2189 int *pvA = &expand_concat(v,aye);
   2190 int *pvbee = &noexpand_concat(v,bee);
   2191 
   2192 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2193    function prototypes and stuff, but not \xHH hex character constants.
   2194    These do not provoke an error unfortunately, instead are silently treated
   2195    as an "x".  The following induces an error, until -std is added to get
   2196    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2197    array size at least.  It is necessary to write \x00 == 0 to get something
   2198    that is true only with -std.  */
   2199 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2200 
   2201 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2202    inside strings and character constants.  */
   2203 #define FOO(x) '\''x'\''
   2204 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2205 
   2206 int test (int i, double x);
   2207 struct s1 {int (*f) (int a);};
   2208 struct s2 {int (*f) (double a);};
   2209 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2210                int, int);'
   2211 
   2212 # Test code for whether the C compiler supports C89 (body of main).
   2213 ac_c_conftest_c89_main='
   2214 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2215 '
   2216 
   2217 # Test code for whether the C compiler supports C99 (global declarations)
   2218 ac_c_conftest_c99_globals='
   2219 /* Does the compiler advertise C99 conformance? */
   2220 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2221 # error "Compiler does not advertise C99 conformance"
   2222 #endif
   2223 
   2224 // See if C++-style comments work.
   2225 
   2226 #include <stdbool.h>
   2227 extern int puts (const char *);
   2228 extern int printf (const char *, ...);
   2229 extern int dprintf (int, const char *, ...);
   2230 extern void *malloc (size_t);
   2231 extern void free (void *);
   2232 
   2233 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2234 // dprintf is used instead of fprintf to avoid needing to declare
   2235 // FILE and stderr.
   2236 #define debug(...) dprintf (2, __VA_ARGS__)
   2237 #define showlist(...) puts (#__VA_ARGS__)
   2238 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2239 static void
   2240 test_varargs_macros (void)
   2241 {
   2242   int x = 1234;
   2243   int y = 5678;
   2244   debug ("Flag");
   2245   debug ("X = %d\n", x);
   2246   showlist (The first, second, and third items.);
   2247   report (x>y, "x is %d but y is %d", x, y);
   2248 }
   2249 
   2250 // Check long long types.
   2251 #define BIG64 18446744073709551615ull
   2252 #define BIG32 4294967295ul
   2253 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2254 #if !BIG_OK
   2255   #error "your preprocessor is broken"
   2256 #endif
   2257 #if BIG_OK
   2258 #else
   2259   #error "your preprocessor is broken"
   2260 #endif
   2261 static long long int bignum = -9223372036854775807LL;
   2262 static unsigned long long int ubignum = BIG64;
   2263 
   2264 struct incomplete_array
   2265 {
   2266   int datasize;
   2267   double data[];
   2268 };
   2269 
   2270 struct named_init {
   2271   int number;
   2272   const wchar_t *name;
   2273   double average;
   2274 };
   2275 
   2276 typedef const char *ccp;
   2277 
   2278 static inline int
   2279 test_restrict (ccp restrict text)
   2280 {
   2281   // Iterate through items via the restricted pointer.
   2282   // Also check for declarations in for loops.
   2283   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2284     continue;
   2285   return 0;
   2286 }
   2287 
   2288 // Check varargs and va_copy.
   2289 static bool
   2290 test_varargs (const char *format, ...)
   2291 {
   2292   va_list args;
   2293   va_start (args, format);
   2294   va_list args_copy;
   2295   va_copy (args_copy, args);
   2296 
   2297   const char *str = "";
   2298   int number = 0;
   2299   float fnumber = 0;
   2300 
   2301   while (*format)
   2302     {
   2303       switch (*format++)
   2304 	{
   2305 	case '\''s'\'': // string
   2306 	  str = va_arg (args_copy, const char *);
   2307 	  break;
   2308 	case '\''d'\'': // int
   2309 	  number = va_arg (args_copy, int);
   2310 	  break;
   2311 	case '\''f'\'': // float
   2312 	  fnumber = va_arg (args_copy, double);
   2313 	  break;
   2314 	default:
   2315 	  break;
   2316 	}
   2317     }
   2318   va_end (args_copy);
   2319   va_end (args);
   2320 
   2321   return *str && number && fnumber;
   2322 }
   2323 '
   2324 
   2325 # Test code for whether the C compiler supports C99 (body of main).
   2326 ac_c_conftest_c99_main='
   2327   // Check bool.
   2328   _Bool success = false;
   2329   success |= (argc != 0);
   2330 
   2331   // Check restrict.
   2332   if (test_restrict ("String literal") == 0)
   2333     success = true;
   2334   char *restrict newvar = "Another string";
   2335 
   2336   // Check varargs.
   2337   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2338   test_varargs_macros ();
   2339 
   2340   // Check flexible array members.
   2341   struct incomplete_array *ia =
   2342     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2343   ia->datasize = 10;
   2344   for (int i = 0; i < ia->datasize; ++i)
   2345     ia->data[i] = i * 1.234;
   2346   // Work around memory leak warnings.
   2347   free (ia);
   2348 
   2349   // Check named initializers.
   2350   struct named_init ni = {
   2351     .number = 34,
   2352     .name = L"Test wide string",
   2353     .average = 543.34343,
   2354   };
   2355 
   2356   ni.number = 58;
   2357 
   2358   int dynamic_array[ni.number];
   2359   dynamic_array[0] = argv[0][0];
   2360   dynamic_array[ni.number - 1] = 543;
   2361 
   2362   // work around unused variable warnings
   2363   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2364 	 || dynamic_array[ni.number - 1] != 543);
   2365 '
   2366 
   2367 # Test code for whether the C compiler supports C11 (global declarations)
   2368 ac_c_conftest_c11_globals='
   2369 /* Does the compiler advertise C11 conformance? */
   2370 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2371 # error "Compiler does not advertise C11 conformance"
   2372 #endif
   2373 
   2374 // Check _Alignas.
   2375 char _Alignas (double) aligned_as_double;
   2376 char _Alignas (0) no_special_alignment;
   2377 extern char aligned_as_int;
   2378 char _Alignas (0) _Alignas (int) aligned_as_int;
   2379 
   2380 // Check _Alignof.
   2381 enum
   2382 {
   2383   int_alignment = _Alignof (int),
   2384   int_array_alignment = _Alignof (int[100]),
   2385   char_alignment = _Alignof (char)
   2386 };
   2387 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2388 
   2389 // Check _Noreturn.
   2390 int _Noreturn does_not_return (void) { for (;;) continue; }
   2391 
   2392 // Check _Static_assert.
   2393 struct test_static_assert
   2394 {
   2395   int x;
   2396   _Static_assert (sizeof (int) <= sizeof (long int),
   2397                   "_Static_assert does not work in struct");
   2398   long int y;
   2399 };
   2400 
   2401 // Check UTF-8 literals.
   2402 #define u8 syntax error!
   2403 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2404 
   2405 // Check duplicate typedefs.
   2406 typedef long *long_ptr;
   2407 typedef long int *long_ptr;
   2408 typedef long_ptr long_ptr;
   2409 
   2410 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2411 struct anonymous
   2412 {
   2413   union {
   2414     struct { int i; int j; };
   2415     struct { int k; long int l; } w;
   2416   };
   2417   int m;
   2418 } v1;
   2419 '
   2420 
   2421 # Test code for whether the C compiler supports C11 (body of main).
   2422 ac_c_conftest_c11_main='
   2423   _Static_assert ((offsetof (struct anonymous, i)
   2424 		   == offsetof (struct anonymous, w.k)),
   2425 		  "Anonymous union alignment botch");
   2426   v1.i = 2;
   2427   v1.w.k = 5;
   2428   ok |= v1.i != 5;
   2429 '
   2430 
   2431 # Test code for whether the C compiler supports C11 (complete).
   2432 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2433 ${ac_c_conftest_c99_globals}
   2434 ${ac_c_conftest_c11_globals}
   2435 
   2436 int
   2437 main (int argc, char **argv)
   2438 {
   2439   int ok = 0;
   2440   ${ac_c_conftest_c89_main}
   2441   ${ac_c_conftest_c99_main}
   2442   ${ac_c_conftest_c11_main}
   2443   return ok;
   2444 }
   2445 "
   2446 
   2447 # Test code for whether the C compiler supports C99 (complete).
   2448 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2449 ${ac_c_conftest_c99_globals}
   2450 
   2451 int
   2452 main (int argc, char **argv)
   2453 {
   2454   int ok = 0;
   2455   ${ac_c_conftest_c89_main}
   2456   ${ac_c_conftest_c99_main}
   2457   return ok;
   2458 }
   2459 "
   2460 
   2461 # Test code for whether the C compiler supports C89 (complete).
   2462 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2463 
   2464 int
   2465 main (int argc, char **argv)
   2466 {
   2467   int ok = 0;
   2468   ${ac_c_conftest_c89_main}
   2469   return ok;
   2470 }
   2471 "
   2472 
   2473 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2474 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2475 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2476 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2477 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2478 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2479 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2480 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2481 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2482 
   2483 # Auxiliary files required by this configure script.
   2484 ac_aux_files="compile config.guess config.sub ltmain.sh missing install-sh"
   2485 
   2486 # Locations in which to look for auxiliary files.
   2487 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2488 
   2489 # Search for a directory containing all of the required auxiliary files,
   2490 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2491 # If we don't find one directory that contains all the files we need,
   2492 # we report the set of missing files from the *first* directory in
   2493 # $ac_aux_dir_candidates and give up.
   2494 ac_missing_aux_files=""
   2495 ac_first_candidate=:
   2496 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2498 as_found=false
   2499 for as_dir in $ac_aux_dir_candidates
   2500 do
   2501   IFS=$as_save_IFS
   2502   case $as_dir in #(((
   2503     '') as_dir=./ ;;
   2504     */) ;;
   2505     *) as_dir=$as_dir/ ;;
   2506   esac
   2507   as_found=:
   2508 
   2509   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2510   ac_aux_dir_found=yes
   2511   ac_install_sh=
   2512   for ac_aux in $ac_aux_files
   2513   do
   2514     # As a special case, if "install-sh" is required, that requirement
   2515     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2516     # and $ac_install_sh is set appropriately for whichever one is found.
   2517     if test x"$ac_aux" = x"install-sh"
   2518     then
   2519       if test -f "${as_dir}install-sh"; then
   2520         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2521         ac_install_sh="${as_dir}install-sh -c"
   2522       elif test -f "${as_dir}install.sh"; then
   2523         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2524         ac_install_sh="${as_dir}install.sh -c"
   2525       elif test -f "${as_dir}shtool"; then
   2526         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2527         ac_install_sh="${as_dir}shtool install -c"
   2528       else
   2529         ac_aux_dir_found=no
   2530         if $ac_first_candidate; then
   2531           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2532         else
   2533           break
   2534         fi
   2535       fi
   2536     else
   2537       if test -f "${as_dir}${ac_aux}"; then
   2538         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2539       else
   2540         ac_aux_dir_found=no
   2541         if $ac_first_candidate; then
   2542           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2543         else
   2544           break
   2545         fi
   2546       fi
   2547     fi
   2548   done
   2549   if test "$ac_aux_dir_found" = yes; then
   2550     ac_aux_dir="$as_dir"
   2551     break
   2552   fi
   2553   ac_first_candidate=false
   2554 
   2555   as_found=false
   2556 done
   2557 IFS=$as_save_IFS
   2558 if $as_found
   2559 then :
   2560 
   2561 else case e in #(
   2562   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2563 esac
   2564 fi
   2565 
   2566 
   2567 # These three variables are undocumented and unsupported,
   2568 # and are intended to be withdrawn in a future Autoconf release.
   2569 # They can cause serious problems if a builder's source tree is in a directory
   2570 # whose full name contains unusual characters.
   2571 if test -f "${ac_aux_dir}config.guess"; then
   2572   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2573 fi
   2574 if test -f "${ac_aux_dir}config.sub"; then
   2575   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2576 fi
   2577 if test -f "$ac_aux_dir/configure"; then
   2578   ac_configure="$SHELL ${ac_aux_dir}configure"
   2579 fi
   2580 
   2581 # Check that the precious variables saved in the cache have kept the same
   2582 # value.
   2583 ac_cache_corrupted=false
   2584 for ac_var in $ac_precious_vars; do
   2585   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2586   eval ac_new_set=\$ac_env_${ac_var}_set
   2587   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2588   eval ac_new_val=\$ac_env_${ac_var}_value
   2589   case $ac_old_set,$ac_new_set in
   2590     set,)
   2591       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2592 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2593       ac_cache_corrupted=: ;;
   2594     ,set)
   2595       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2596 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2597       ac_cache_corrupted=: ;;
   2598     ,);;
   2599     *)
   2600       if test "x$ac_old_val" != "x$ac_new_val"; then
   2601 	# differences in whitespace do not lead to failure.
   2602 	ac_old_val_w=`echo x $ac_old_val`
   2603 	ac_new_val_w=`echo x $ac_new_val`
   2604 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2605 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2606 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2607 	  ac_cache_corrupted=:
   2608 	else
   2609 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2610 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2611 	  eval $ac_var=\$ac_old_val
   2612 	fi
   2613 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2614 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2615 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2616 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2617       fi;;
   2618   esac
   2619   # Pass precious variables to config.status.
   2620   if test "$ac_new_set" = set; then
   2621     case $ac_new_val in
   2622     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2623     *) ac_arg=$ac_var=$ac_new_val ;;
   2624     esac
   2625     case " $ac_configure_args " in
   2626       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2627       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2628     esac
   2629   fi
   2630 done
   2631 if $ac_cache_corrupted; then
   2632   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2633 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2634   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2635 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2636   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2637 	    and start over" "$LINENO" 5
   2638 fi
   2639 ## -------------------- ##
   2640 ## Main body of script. ##
   2641 ## -------------------- ##
   2642 
   2643 ac_ext=c
   2644 ac_cpp='$CPP $CPPFLAGS'
   2645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2648 
   2649 
   2650 
   2651 ac_config_headers="$ac_config_headers config.h"
   2652 
   2653 
   2654 
   2655 # Initialize Automake
   2656 am__api_version='1.17'
   2657 
   2658 
   2659 
   2660   # Find a good install program.  We prefer a C program (faster),
   2661 # so one script is as good as another.  But avoid the broken or
   2662 # incompatible versions:
   2663 # SysV /etc/install, /usr/sbin/install
   2664 # SunOS /usr/etc/install
   2665 # IRIX /sbin/install
   2666 # AIX /bin/install
   2667 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2668 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2669 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2670 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2671 # OS/2's system install, which has a completely different semantic
   2672 # ./install, which can be erroneously created by make from ./install.sh.
   2673 # Reject install programs that cannot install multiple files.
   2674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2675 printf %s "checking for a BSD-compatible install... " >&6; }
   2676 if test -z "$INSTALL"; then
   2677 if test ${ac_cv_path_install+y}
   2678 then :
   2679   printf %s "(cached) " >&6
   2680 else case e in #(
   2681   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2682 for as_dir in $PATH
   2683 do
   2684   IFS=$as_save_IFS
   2685   case $as_dir in #(((
   2686     '') as_dir=./ ;;
   2687     */) ;;
   2688     *) as_dir=$as_dir/ ;;
   2689   esac
   2690     # Account for fact that we put trailing slashes in our PATH walk.
   2691 case $as_dir in #((
   2692   ./ | /[cC]/* | \
   2693   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2694   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2695   /usr/ucb/* ) ;;
   2696   *)
   2697     # OSF1 and SCO ODT 3.0 have their own names for install.
   2698     # Don't use installbsd from OSF since it installs stuff as root
   2699     # by default.
   2700     for ac_prog in ginstall scoinst install; do
   2701       for ac_exec_ext in '' $ac_executable_extensions; do
   2702 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2703 	  if test $ac_prog = install &&
   2704 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2705 	    # AIX install.  It has an incompatible calling convention.
   2706 	    :
   2707 	  elif test $ac_prog = install &&
   2708 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2709 	    # program-specific install script used by HP pwplus--don't use.
   2710 	    :
   2711 	  else
   2712 	    rm -rf conftest.one conftest.two conftest.dir
   2713 	    echo one > conftest.one
   2714 	    echo two > conftest.two
   2715 	    mkdir conftest.dir
   2716 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2717 	      test -s conftest.one && test -s conftest.two &&
   2718 	      test -s conftest.dir/conftest.one &&
   2719 	      test -s conftest.dir/conftest.two
   2720 	    then
   2721 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2722 	      break 3
   2723 	    fi
   2724 	  fi
   2725 	fi
   2726       done
   2727     done
   2728     ;;
   2729 esac
   2730 
   2731   done
   2732 IFS=$as_save_IFS
   2733 
   2734 rm -rf conftest.one conftest.two conftest.dir
   2735  ;;
   2736 esac
   2737 fi
   2738   if test ${ac_cv_path_install+y}; then
   2739     INSTALL=$ac_cv_path_install
   2740   else
   2741     # As a last resort, use the slow shell script.  Don't cache a
   2742     # value for INSTALL within a source directory, because that will
   2743     # break other packages using the cache if that directory is
   2744     # removed, or if the value is a relative name.
   2745     INSTALL=$ac_install_sh
   2746   fi
   2747 fi
   2748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2749 printf "%s\n" "$INSTALL" >&6; }
   2750 
   2751 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2752 # It thinks the first close brace ends the variable substitution.
   2753 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2754 
   2755 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2756 
   2757 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2758 
   2759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2760 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2761 if test ${am_cv_sleep_fractional_seconds+y}
   2762 then :
   2763   printf %s "(cached) " >&6
   2764 else case e in #(
   2765   e) if sleep 0.001 2>/dev/null
   2766 then :
   2767   am_cv_sleep_fractional_seconds=yes
   2768 else case e in #(
   2769   e) am_cv_sleep_fractional_seconds=no ;;
   2770 esac
   2771 fi
   2772  ;;
   2773 esac
   2774 fi
   2775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2776 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   2777 
   2778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2779 printf %s "checking filesystem timestamp resolution... " >&6; }
   2780 if test ${am_cv_filesystem_timestamp_resolution+y}
   2781 then :
   2782   printf %s "(cached) " >&6
   2783 else case e in #(
   2784   e) # Default to the worst case.
   2785 am_cv_filesystem_timestamp_resolution=2
   2786 
   2787 # Only try to go finer than 1 sec if sleep can do it.
   2788 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2789 # - 1 sec is not much of a win compared to 2 sec, and
   2790 # - it takes 2 seconds to perform the test whether 1 sec works.
   2791 #
   2792 # Instead, just use the default 2s on platforms that have 1s resolution,
   2793 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2794 # exchange for not incurring the 2s delay for running the test for all
   2795 # packages.
   2796 #
   2797 am_try_resolutions=
   2798 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2799   # Even a millisecond often causes a bunch of false positives,
   2800   # so just try a hundredth of a second. The time saved between .001 and
   2801   # .01 is not terribly consequential.
   2802   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2803 fi
   2804 
   2805 # In order to catch current-generation FAT out, we must *modify* files
   2806 # that already exist; the *creation* timestamp is finer.  Use names
   2807 # that make ls -t sort them differently when they have equal
   2808 # timestamps than when they have distinct timestamps, keeping
   2809 # in mind that ls -t prints the *newest* file first.
   2810 rm -f conftest.ts?
   2811 : > conftest.ts1
   2812 : > conftest.ts2
   2813 : > conftest.ts3
   2814 
   2815 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2816 # clobber the current shell's arguments. (Outer-level square brackets
   2817 # are removed by m4; they're present so that m4 does not expand
   2818 # <dollar><star>; be careful, easy to get confused.)
   2819 if (
   2820      set X `ls -t conftest.ts[12]` &&
   2821      {
   2822        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2823        test "$*" != "X conftest.ts2 conftest.ts1";
   2824      }
   2825 ); then :; else
   2826   # If neither matched, then we have a broken ls.  This can happen
   2827   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2828   # broken ls alias from the environment.  This has actually
   2829   # happened.  Such a system could not be considered "sane".
   2830   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2831   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2832 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2833 as_fn_error $? "ls -t produces unexpected output.
   2834 Make sure there is not a broken ls alias in your environment.
   2835 See 'config.log' for more details" "$LINENO" 5; }
   2836 fi
   2837 
   2838 for am_try_res in $am_try_resolutions; do
   2839   # Any one fine-grained sleep might happen to cross the boundary
   2840   # between two values of a coarser actual resolution, but if we do
   2841   # two fine-grained sleeps in a row, at least one of them will fall
   2842   # entirely within a coarse interval.
   2843   echo alpha > conftest.ts1
   2844   sleep $am_try_res
   2845   echo beta > conftest.ts2
   2846   sleep $am_try_res
   2847   echo gamma > conftest.ts3
   2848 
   2849   # We assume that 'ls -t' will make use of high-resolution
   2850   # timestamps if the operating system supports them at all.
   2851   if (set X `ls -t conftest.ts?` &&
   2852       test "$2" = conftest.ts3 &&
   2853       test "$3" = conftest.ts2 &&
   2854       test "$4" = conftest.ts1); then
   2855     #
   2856     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2857     # because we don't need to test make.
   2858     make_ok=true
   2859     if test $am_try_res != 1; then
   2860       # But if we've succeeded so far with a subsecond resolution, we
   2861       # have one more thing to check: make. It can happen that
   2862       # everything else supports the subsecond mtimes, but make doesn't;
   2863       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2864       # released under GPLv2). https://bugs.gnu.org/68808
   2865       #
   2866       # We test $MAKE if it is defined in the environment, else "make".
   2867       # It might get overridden later, but our hope is that in practice
   2868       # it does not matter: it is the system "make" which is (by far)
   2869       # the most likely to be broken, whereas if the user overrides it,
   2870       # probably they did so with a better, or at least not worse, make.
   2871       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2872       #
   2873       # Create a Makefile (real tab character here):
   2874       rm -f conftest.mk
   2875       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2876       echo '	touch conftest.ts2' >>conftest.mk
   2877       #
   2878       # Now, running
   2879       #   touch conftest.ts1; touch conftest.ts2; make
   2880       # should touch ts1 because ts2 is newer. This could happen by luck,
   2881       # but most often, it will fail if make's support is insufficient. So
   2882       # test for several consecutive successes.
   2883       #
   2884       # (We reuse conftest.ts[12] because we still want to modify existing
   2885       # files, not create new ones, per above.)
   2886       n=0
   2887       make=${MAKE-make}
   2888       until test $n -eq 3; do
   2889         echo one > conftest.ts1
   2890         sleep $am_try_res
   2891         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2892         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2893           make_ok=false
   2894           break # out of $n loop
   2895         fi
   2896         n=`expr $n + 1`
   2897       done
   2898     fi
   2899     #
   2900     if $make_ok; then
   2901       # Everything we know to check worked out, so call this resolution good.
   2902       am_cv_filesystem_timestamp_resolution=$am_try_res
   2903       break # out of $am_try_res loop
   2904     fi
   2905     # Otherwise, we'll go on to check the next resolution.
   2906   fi
   2907 done
   2908 rm -f conftest.ts?
   2909 # (end _am_filesystem_timestamp_resolution)
   2910  ;;
   2911 esac
   2912 fi
   2913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2914 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   2915 
   2916 # This check should not be cached, as it may vary across builds of
   2917 # different projects.
   2918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2919 printf %s "checking whether build environment is sane... " >&6; }
   2920 # Reject unsafe characters in $srcdir or the absolute working directory
   2921 # name.  Accept space and tab only in the latter.
   2922 am_lf='
   2923 '
   2924 case `pwd` in
   2925   *[\\\"\#\$\&\'\`$am_lf]*)
   2926     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2927 esac
   2928 case $srcdir in
   2929   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2930     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2931 esac
   2932 
   2933 # Do 'set' in a subshell so we don't clobber the current shell's
   2934 # arguments.  Must try -L first in case configure is actually a
   2935 # symlink; some systems play weird games with the mod time of symlinks
   2936 # (eg FreeBSD returns the mod time of the symlink's containing
   2937 # directory).
   2938 am_build_env_is_sane=no
   2939 am_has_slept=no
   2940 rm -f conftest.file
   2941 for am_try in 1 2; do
   2942   echo "timestamp, slept: $am_has_slept" > conftest.file
   2943   if (
   2944     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2945     if test "$*" = "X"; then
   2946       # -L didn't work.
   2947       set X `ls -t "$srcdir/configure" conftest.file`
   2948     fi
   2949     test "$2" = conftest.file
   2950   ); then
   2951     am_build_env_is_sane=yes
   2952     break
   2953   fi
   2954   # Just in case.
   2955   sleep "$am_cv_filesystem_timestamp_resolution"
   2956   am_has_slept=yes
   2957 done
   2958 
   2959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   2960 printf "%s\n" "$am_build_env_is_sane" >&6; }
   2961 if test "$am_build_env_is_sane" = no; then
   2962   as_fn_error $? "newly created file is older than distributed files!
   2963 Check your system clock" "$LINENO" 5
   2964 fi
   2965 
   2966 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2967 # generated files are strictly newer.
   2968 am_sleep_pid=
   2969 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   2970 then :
   2971 
   2972 else case e in #(
   2973   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   2974   am_sleep_pid=$!
   2975  ;;
   2976 esac
   2977 fi
   2978 
   2979 rm -f conftest.file
   2980 
   2981 test "$program_prefix" != NONE &&
   2982   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2983 # Use a double $ so make ignores it.
   2984 test "$program_suffix" != NONE &&
   2985   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2986 # Double any \ or $.
   2987 # By default was 's,x,x', remove it if useless.
   2988 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2989 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2990 
   2991 
   2992 # Expand $ac_aux_dir to an absolute path.
   2993 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2994 
   2995 
   2996   if test x"${MISSING+set}" != xset; then
   2997   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2998 fi
   2999 # Use eval to expand $SHELL
   3000 if eval "$MISSING --is-lightweight"; then
   3001   am_missing_run="$MISSING "
   3002 else
   3003   am_missing_run=
   3004   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3005 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3006 fi
   3007 
   3008 if test x"${install_sh+set}" != xset; then
   3009   case $am_aux_dir in
   3010   *\ * | *\	*)
   3011     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3012   *)
   3013     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3014   esac
   3015 fi
   3016 
   3017 # Installed binaries are usually stripped using 'strip' when the user
   3018 # run "make install-strip".  However 'strip' might not be the right
   3019 # tool to use in cross-compilation environments, therefore Automake
   3020 # will honor the 'STRIP' environment variable to overrule this program.
   3021 if test "$cross_compiling" != no; then
   3022   if test -n "$ac_tool_prefix"; then
   3023   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3024 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3026 printf %s "checking for $ac_word... " >&6; }
   3027 if test ${ac_cv_prog_STRIP+y}
   3028 then :
   3029   printf %s "(cached) " >&6
   3030 else case e in #(
   3031   e) if test -n "$STRIP"; then
   3032   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3033 else
   3034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3035 for as_dir in $PATH
   3036 do
   3037   IFS=$as_save_IFS
   3038   case $as_dir in #(((
   3039     '') as_dir=./ ;;
   3040     */) ;;
   3041     *) as_dir=$as_dir/ ;;
   3042   esac
   3043     for ac_exec_ext in '' $ac_executable_extensions; do
   3044   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3045     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3046     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3047     break 2
   3048   fi
   3049 done
   3050   done
   3051 IFS=$as_save_IFS
   3052 
   3053 fi ;;
   3054 esac
   3055 fi
   3056 STRIP=$ac_cv_prog_STRIP
   3057 if test -n "$STRIP"; then
   3058   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3059 printf "%s\n" "$STRIP" >&6; }
   3060 else
   3061   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3062 printf "%s\n" "no" >&6; }
   3063 fi
   3064 
   3065 
   3066 fi
   3067 if test -z "$ac_cv_prog_STRIP"; then
   3068   ac_ct_STRIP=$STRIP
   3069   # Extract the first word of "strip", so it can be a program name with args.
   3070 set dummy strip; ac_word=$2
   3071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3072 printf %s "checking for $ac_word... " >&6; }
   3073 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3074 then :
   3075   printf %s "(cached) " >&6
   3076 else case e in #(
   3077   e) if test -n "$ac_ct_STRIP"; then
   3078   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3079 else
   3080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3081 for as_dir in $PATH
   3082 do
   3083   IFS=$as_save_IFS
   3084   case $as_dir in #(((
   3085     '') as_dir=./ ;;
   3086     */) ;;
   3087     *) as_dir=$as_dir/ ;;
   3088   esac
   3089     for ac_exec_ext in '' $ac_executable_extensions; do
   3090   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3091     ac_cv_prog_ac_ct_STRIP="strip"
   3092     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3093     break 2
   3094   fi
   3095 done
   3096   done
   3097 IFS=$as_save_IFS
   3098 
   3099 fi ;;
   3100 esac
   3101 fi
   3102 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3103 if test -n "$ac_ct_STRIP"; then
   3104   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3105 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3106 else
   3107   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3108 printf "%s\n" "no" >&6; }
   3109 fi
   3110 
   3111   if test "x$ac_ct_STRIP" = x; then
   3112     STRIP=":"
   3113   else
   3114     case $cross_compiling:$ac_tool_warned in
   3115 yes:)
   3116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3117 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3118 ac_tool_warned=yes ;;
   3119 esac
   3120     STRIP=$ac_ct_STRIP
   3121   fi
   3122 else
   3123   STRIP="$ac_cv_prog_STRIP"
   3124 fi
   3125 
   3126 fi
   3127 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3128 
   3129 
   3130   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3131 printf %s "checking for a race-free mkdir -p... " >&6; }
   3132 if test -z "$MKDIR_P"; then
   3133   if test ${ac_cv_path_mkdir+y}
   3134 then :
   3135   printf %s "(cached) " >&6
   3136 else case e in #(
   3137   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3138 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3139 do
   3140   IFS=$as_save_IFS
   3141   case $as_dir in #(((
   3142     '') as_dir=./ ;;
   3143     */) ;;
   3144     *) as_dir=$as_dir/ ;;
   3145   esac
   3146     for ac_prog in mkdir gmkdir; do
   3147 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3148 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3149 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3150 	     'mkdir ('*'coreutils) '* | \
   3151 	     *'BusyBox '* | \
   3152 	     'mkdir (fileutils) '4.1*)
   3153 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3154 	       break 3;;
   3155 	   esac
   3156 	 done
   3157        done
   3158   done
   3159 IFS=$as_save_IFS
   3160  ;;
   3161 esac
   3162 fi
   3163 
   3164   test -d ./--version && rmdir ./--version
   3165   if test ${ac_cv_path_mkdir+y}; then
   3166     MKDIR_P="$ac_cv_path_mkdir -p"
   3167   else
   3168     # As a last resort, use plain mkdir -p,
   3169     # in the hope it doesn't have the bugs of ancient mkdir.
   3170     MKDIR_P='mkdir -p'
   3171   fi
   3172 fi
   3173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3174 printf "%s\n" "$MKDIR_P" >&6; }
   3175 
   3176 for ac_prog in gawk mawk nawk awk
   3177 do
   3178   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3179 set dummy $ac_prog; ac_word=$2
   3180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3181 printf %s "checking for $ac_word... " >&6; }
   3182 if test ${ac_cv_prog_AWK+y}
   3183 then :
   3184   printf %s "(cached) " >&6
   3185 else case e in #(
   3186   e) if test -n "$AWK"; then
   3187   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3188 else
   3189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3190 for as_dir in $PATH
   3191 do
   3192   IFS=$as_save_IFS
   3193   case $as_dir in #(((
   3194     '') as_dir=./ ;;
   3195     */) ;;
   3196     *) as_dir=$as_dir/ ;;
   3197   esac
   3198     for ac_exec_ext in '' $ac_executable_extensions; do
   3199   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3200     ac_cv_prog_AWK="$ac_prog"
   3201     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3202     break 2
   3203   fi
   3204 done
   3205   done
   3206 IFS=$as_save_IFS
   3207 
   3208 fi ;;
   3209 esac
   3210 fi
   3211 AWK=$ac_cv_prog_AWK
   3212 if test -n "$AWK"; then
   3213   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3214 printf "%s\n" "$AWK" >&6; }
   3215 else
   3216   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3217 printf "%s\n" "no" >&6; }
   3218 fi
   3219 
   3220 
   3221   test -n "$AWK" && break
   3222 done
   3223 
   3224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3225 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3226 set x ${MAKE-make}
   3227 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3228 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3229 then :
   3230   printf %s "(cached) " >&6
   3231 else case e in #(
   3232   e) cat >conftest.make <<\_ACEOF
   3233 SHELL = /bin/sh
   3234 all:
   3235 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3236 _ACEOF
   3237 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3238 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3239   *@@@%%%=?*=@@@%%%*)
   3240     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3241   *)
   3242     eval ac_cv_prog_make_${ac_make}_set=no;;
   3243 esac
   3244 rm -f conftest.make ;;
   3245 esac
   3246 fi
   3247 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3248   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3249 printf "%s\n" "yes" >&6; }
   3250   SET_MAKE=
   3251 else
   3252   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3253 printf "%s\n" "no" >&6; }
   3254   SET_MAKE="MAKE=${MAKE-make}"
   3255 fi
   3256 
   3257 rm -rf .tst 2>/dev/null
   3258 mkdir .tst 2>/dev/null
   3259 if test -d .tst; then
   3260   am__leading_dot=.
   3261 else
   3262   am__leading_dot=_
   3263 fi
   3264 rmdir .tst 2>/dev/null
   3265 
   3266 AM_DEFAULT_VERBOSITY=1
   3267 # Check whether --enable-silent-rules was given.
   3268 if test ${enable_silent_rules+y}
   3269 then :
   3270   enableval=$enable_silent_rules;
   3271 fi
   3272 
   3273 am_make=${MAKE-make}
   3274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3275 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3276 if test ${am_cv_make_support_nested_variables+y}
   3277 then :
   3278   printf %s "(cached) " >&6
   3279 else case e in #(
   3280   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3281 BAR0=false
   3282 BAR1=true
   3283 V=1
   3284 am__doit:
   3285 	@$(TRUE)
   3286 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3287   am_cv_make_support_nested_variables=yes
   3288 else
   3289   am_cv_make_support_nested_variables=no
   3290 fi ;;
   3291 esac
   3292 fi
   3293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3294 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3295 AM_BACKSLASH='\'
   3296 
   3297 am__rm_f_notfound=
   3298 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3299 then :
   3300 
   3301 else case e in #(
   3302   e) am__rm_f_notfound='""' ;;
   3303 esac
   3304 fi
   3305 
   3306 
   3307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3308 printf %s "checking xargs -n works... " >&6; }
   3309 if test ${am_cv_xargs_n_works+y}
   3310 then :
   3311   printf %s "(cached) " >&6
   3312 else case e in #(
   3313   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3314 3"
   3315 then :
   3316   am_cv_xargs_n_works=yes
   3317 else case e in #(
   3318   e) am_cv_xargs_n_works=no ;;
   3319 esac
   3320 fi ;;
   3321 esac
   3322 fi
   3323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3324 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3325 if test "$am_cv_xargs_n_works" = yes
   3326 then :
   3327   am__xargs_n='xargs -n'
   3328 else case e in #(
   3329   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3330  ;;
   3331 esac
   3332 fi
   3333 
   3334 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3335   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3336   # is not polluted with repeated "-I."
   3337   am__isrc=' -I$(srcdir)'
   3338   # test to see if srcdir already configured
   3339   if test -f $srcdir/config.status; then
   3340     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3341   fi
   3342 fi
   3343 
   3344 # test whether we have cygpath
   3345 if test -z "$CYGPATH_W"; then
   3346   if (cygpath --version) >/dev/null 2>/dev/null; then
   3347     CYGPATH_W='cygpath -w'
   3348   else
   3349     CYGPATH_W=echo
   3350   fi
   3351 fi
   3352 
   3353 
   3354 # Define the identity of the package.
   3355  PACKAGE='libXv'
   3356  VERSION='1.0.13'
   3357 
   3358 
   3359 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3360 
   3361 
   3362 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3363 
   3364 # Some tools Automake needs.
   3365 
   3366 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3367 
   3368 
   3369 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3370 
   3371 
   3372 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3373 
   3374 
   3375 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3376 
   3377 
   3378 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3379 
   3380 # For better backward compatibility.  To be removed once Automake 1.9.x
   3381 # dies out for good.  For more background, see:
   3382 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3383 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3384 mkdir_p='$(MKDIR_P)'
   3385 
   3386 # We need awk for the "check" target (and possibly the TAP driver).  The
   3387 # system "awk" is bad on some platforms.
   3388 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3389 # in the wild :-(  We should find a proper way to deprecate it ...
   3390 AMTAR='$${TAR-tar}'
   3391 
   3392 
   3393 # We'll loop over all known methods to create a tar archive until one works.
   3394 _am_tools='gnutar  pax cpio none'
   3395 
   3396 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3397 
   3398 
   3399 
   3400 
   3401 
   3402 # Variables for tags utilities; see am/tags.am
   3403 if test -z "$CTAGS"; then
   3404   CTAGS=ctags
   3405 fi
   3406 
   3407 if test -z "$ETAGS"; then
   3408   ETAGS=etags
   3409 fi
   3410 
   3411 if test -z "$CSCOPE"; then
   3412   CSCOPE=cscope
   3413 fi
   3414 
   3415 
   3416 
   3417 
   3418 
   3419 
   3420 
   3421 
   3422 # Initialize libtool
   3423 case `pwd` in
   3424   *\ * | *\	*)
   3425     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3426 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3427 esac
   3428 
   3429 
   3430 
   3431 macro_version='2.5.4'
   3432 macro_revision='2.5.4'
   3433 
   3434 
   3435 
   3436 
   3437 
   3438 
   3439 
   3440 
   3441 
   3442 
   3443 
   3444 
   3445 
   3446 
   3447 ltmain=$ac_aux_dir/ltmain.sh
   3448 
   3449 
   3450 
   3451   # Make sure we can run config.sub.
   3452 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3453   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3454 
   3455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3456 printf %s "checking build system type... " >&6; }
   3457 if test ${ac_cv_build+y}
   3458 then :
   3459   printf %s "(cached) " >&6
   3460 else case e in #(
   3461   e) ac_build_alias=$build_alias
   3462 test "x$ac_build_alias" = x &&
   3463   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3464 test "x$ac_build_alias" = x &&
   3465   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3466 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3467   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3468  ;;
   3469 esac
   3470 fi
   3471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3472 printf "%s\n" "$ac_cv_build" >&6; }
   3473 case $ac_cv_build in
   3474 *-*-*) ;;
   3475 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3476 esac
   3477 build=$ac_cv_build
   3478 ac_save_IFS=$IFS; IFS='-'
   3479 set x $ac_cv_build
   3480 shift
   3481 build_cpu=$1
   3482 build_vendor=$2
   3483 shift; shift
   3484 # Remember, the first character of IFS is used to create $*,
   3485 # except with old shells:
   3486 build_os=$*
   3487 IFS=$ac_save_IFS
   3488 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3489 
   3490 
   3491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3492 printf %s "checking host system type... " >&6; }
   3493 if test ${ac_cv_host+y}
   3494 then :
   3495   printf %s "(cached) " >&6
   3496 else case e in #(
   3497   e) if test "x$host_alias" = x; then
   3498   ac_cv_host=$ac_cv_build
   3499 else
   3500   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3501     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3502 fi
   3503  ;;
   3504 esac
   3505 fi
   3506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3507 printf "%s\n" "$ac_cv_host" >&6; }
   3508 case $ac_cv_host in
   3509 *-*-*) ;;
   3510 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3511 esac
   3512 host=$ac_cv_host
   3513 ac_save_IFS=$IFS; IFS='-'
   3514 set x $ac_cv_host
   3515 shift
   3516 host_cpu=$1
   3517 host_vendor=$2
   3518 shift; shift
   3519 # Remember, the first character of IFS is used to create $*,
   3520 # except with old shells:
   3521 host_os=$*
   3522 IFS=$ac_save_IFS
   3523 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3524 
   3525 
   3526 # Backslashify metacharacters that are still active within
   3527 # double-quoted strings.
   3528 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3529 
   3530 # Same as above, but do not quote variable references.
   3531 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3532 
   3533 # Sed substitution to delay expansion of an escaped shell variable in a
   3534 # double_quote_subst'ed string.
   3535 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3536 
   3537 # Sed substitution to delay expansion of an escaped single quote.
   3538 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3539 
   3540 # Sed substitution to avoid accidental globbing in evaled expressions
   3541 no_glob_subst='s/\*/\\\*/g'
   3542 
   3543 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3544 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3545 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3546 
   3547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3548 printf %s "checking how to print strings... " >&6; }
   3549 # Test print first, because it will be a builtin if present.
   3550 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3551    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3552   ECHO='print -r --'
   3553 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3554   ECHO='printf %s\n'
   3555 else
   3556   # Use this function as a fallback that always works.
   3557   func_fallback_echo ()
   3558   {
   3559     eval 'cat <<_LTECHO_EOF
   3560 $1
   3561 _LTECHO_EOF'
   3562   }
   3563   ECHO='func_fallback_echo'
   3564 fi
   3565 
   3566 # func_echo_all arg...
   3567 # Invoke $ECHO with all args, space-separated.
   3568 func_echo_all ()
   3569 {
   3570     $ECHO ""
   3571 }
   3572 
   3573 case $ECHO in
   3574   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3575 printf "%s\n" "printf" >&6; } ;;
   3576   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3577 printf "%s\n" "print -r" >&6; } ;;
   3578   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3579 printf "%s\n" "cat" >&6; } ;;
   3580 esac
   3581 
   3582 
   3583 
   3584 
   3585 
   3586 
   3587 
   3588 
   3589 
   3590 
   3591 
   3592 
   3593 
   3594 
   3595 
   3596 
   3597 
   3598 
   3599 
   3600 
   3601 
   3602 
   3603 
   3604 DEPDIR="${am__leading_dot}deps"
   3605 
   3606 ac_config_commands="$ac_config_commands depfiles"
   3607 
   3608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3609 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3610 cat > confinc.mk << 'END'
   3611 am__doit:
   3612 	@echo this is the am__doit target >confinc.out
   3613 .PHONY: am__doit
   3614 END
   3615 am__include="#"
   3616 am__quote=
   3617 # BSD make does it like this.
   3618 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3619 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3620 echo 'include confinc.mk # ignored' > confmf.GNU
   3621 _am_result=no
   3622 for s in GNU BSD; do
   3623   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3624    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3625    ac_status=$?
   3626    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3627    (exit $ac_status); }
   3628   case $?:`cat confinc.out 2>/dev/null` in #(
   3629   '0:this is the am__doit target') :
   3630     case $s in #(
   3631   BSD) :
   3632     am__include='.include' am__quote='"' ;; #(
   3633   *) :
   3634     am__include='include' am__quote='' ;;
   3635 esac ;; #(
   3636   *) :
   3637      ;;
   3638 esac
   3639   if test "$am__include" != "#"; then
   3640     _am_result="yes ($s style)"
   3641     break
   3642   fi
   3643 done
   3644 rm -f confinc.* confmf.*
   3645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3646 printf "%s\n" "${_am_result}" >&6; }
   3647 
   3648 # Check whether --enable-dependency-tracking was given.
   3649 if test ${enable_dependency_tracking+y}
   3650 then :
   3651   enableval=$enable_dependency_tracking;
   3652 fi
   3653 
   3654 if test "x$enable_dependency_tracking" != xno; then
   3655   am_depcomp="$ac_aux_dir/depcomp"
   3656   AMDEPBACKSLASH='\'
   3657   am__nodep='_no'
   3658 fi
   3659  if test "x$enable_dependency_tracking" != xno; then
   3660   AMDEP_TRUE=
   3661   AMDEP_FALSE='#'
   3662 else
   3663   AMDEP_TRUE='#'
   3664   AMDEP_FALSE=
   3665 fi
   3666 
   3667 
   3668 ac_ext=c
   3669 ac_cpp='$CPP $CPPFLAGS'
   3670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3673 if test -n "$ac_tool_prefix"; then
   3674   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3675 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3677 printf %s "checking for $ac_word... " >&6; }
   3678 if test ${ac_cv_prog_CC+y}
   3679 then :
   3680   printf %s "(cached) " >&6
   3681 else case e in #(
   3682   e) if test -n "$CC"; then
   3683   ac_cv_prog_CC="$CC" # Let the user override the test.
   3684 else
   3685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3686 for as_dir in $PATH
   3687 do
   3688   IFS=$as_save_IFS
   3689   case $as_dir in #(((
   3690     '') as_dir=./ ;;
   3691     */) ;;
   3692     *) as_dir=$as_dir/ ;;
   3693   esac
   3694     for ac_exec_ext in '' $ac_executable_extensions; do
   3695   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3696     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3697     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3698     break 2
   3699   fi
   3700 done
   3701   done
   3702 IFS=$as_save_IFS
   3703 
   3704 fi ;;
   3705 esac
   3706 fi
   3707 CC=$ac_cv_prog_CC
   3708 if test -n "$CC"; then
   3709   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3710 printf "%s\n" "$CC" >&6; }
   3711 else
   3712   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3713 printf "%s\n" "no" >&6; }
   3714 fi
   3715 
   3716 
   3717 fi
   3718 if test -z "$ac_cv_prog_CC"; then
   3719   ac_ct_CC=$CC
   3720   # Extract the first word of "gcc", so it can be a program name with args.
   3721 set dummy gcc; ac_word=$2
   3722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3723 printf %s "checking for $ac_word... " >&6; }
   3724 if test ${ac_cv_prog_ac_ct_CC+y}
   3725 then :
   3726   printf %s "(cached) " >&6
   3727 else case e in #(
   3728   e) if test -n "$ac_ct_CC"; then
   3729   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3730 else
   3731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3732 for as_dir in $PATH
   3733 do
   3734   IFS=$as_save_IFS
   3735   case $as_dir in #(((
   3736     '') as_dir=./ ;;
   3737     */) ;;
   3738     *) as_dir=$as_dir/ ;;
   3739   esac
   3740     for ac_exec_ext in '' $ac_executable_extensions; do
   3741   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3742     ac_cv_prog_ac_ct_CC="gcc"
   3743     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3744     break 2
   3745   fi
   3746 done
   3747   done
   3748 IFS=$as_save_IFS
   3749 
   3750 fi ;;
   3751 esac
   3752 fi
   3753 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3754 if test -n "$ac_ct_CC"; then
   3755   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3756 printf "%s\n" "$ac_ct_CC" >&6; }
   3757 else
   3758   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3759 printf "%s\n" "no" >&6; }
   3760 fi
   3761 
   3762   if test "x$ac_ct_CC" = x; then
   3763     CC=""
   3764   else
   3765     case $cross_compiling:$ac_tool_warned in
   3766 yes:)
   3767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3768 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3769 ac_tool_warned=yes ;;
   3770 esac
   3771     CC=$ac_ct_CC
   3772   fi
   3773 else
   3774   CC="$ac_cv_prog_CC"
   3775 fi
   3776 
   3777 if test -z "$CC"; then
   3778           if test -n "$ac_tool_prefix"; then
   3779     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3780 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3782 printf %s "checking for $ac_word... " >&6; }
   3783 if test ${ac_cv_prog_CC+y}
   3784 then :
   3785   printf %s "(cached) " >&6
   3786 else case e in #(
   3787   e) if test -n "$CC"; then
   3788   ac_cv_prog_CC="$CC" # Let the user override the test.
   3789 else
   3790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3791 for as_dir in $PATH
   3792 do
   3793   IFS=$as_save_IFS
   3794   case $as_dir in #(((
   3795     '') as_dir=./ ;;
   3796     */) ;;
   3797     *) as_dir=$as_dir/ ;;
   3798   esac
   3799     for ac_exec_ext in '' $ac_executable_extensions; do
   3800   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3801     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3802     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3803     break 2
   3804   fi
   3805 done
   3806   done
   3807 IFS=$as_save_IFS
   3808 
   3809 fi ;;
   3810 esac
   3811 fi
   3812 CC=$ac_cv_prog_CC
   3813 if test -n "$CC"; then
   3814   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3815 printf "%s\n" "$CC" >&6; }
   3816 else
   3817   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3818 printf "%s\n" "no" >&6; }
   3819 fi
   3820 
   3821 
   3822   fi
   3823 fi
   3824 if test -z "$CC"; then
   3825   # Extract the first word of "cc", so it can be a program name with args.
   3826 set dummy cc; ac_word=$2
   3827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3828 printf %s "checking for $ac_word... " >&6; }
   3829 if test ${ac_cv_prog_CC+y}
   3830 then :
   3831   printf %s "(cached) " >&6
   3832 else case e in #(
   3833   e) if test -n "$CC"; then
   3834   ac_cv_prog_CC="$CC" # Let the user override the test.
   3835 else
   3836   ac_prog_rejected=no
   3837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3838 for as_dir in $PATH
   3839 do
   3840   IFS=$as_save_IFS
   3841   case $as_dir in #(((
   3842     '') as_dir=./ ;;
   3843     */) ;;
   3844     *) as_dir=$as_dir/ ;;
   3845   esac
   3846     for ac_exec_ext in '' $ac_executable_extensions; do
   3847   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3848     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3849        ac_prog_rejected=yes
   3850        continue
   3851      fi
   3852     ac_cv_prog_CC="cc"
   3853     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3854     break 2
   3855   fi
   3856 done
   3857   done
   3858 IFS=$as_save_IFS
   3859 
   3860 if test $ac_prog_rejected = yes; then
   3861   # We found a bogon in the path, so make sure we never use it.
   3862   set dummy $ac_cv_prog_CC
   3863   shift
   3864   if test $# != 0; then
   3865     # We chose a different compiler from the bogus one.
   3866     # However, it has the same basename, so the bogon will be chosen
   3867     # first if we set CC to just the basename; use the full file name.
   3868     shift
   3869     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3870   fi
   3871 fi
   3872 fi ;;
   3873 esac
   3874 fi
   3875 CC=$ac_cv_prog_CC
   3876 if test -n "$CC"; then
   3877   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3878 printf "%s\n" "$CC" >&6; }
   3879 else
   3880   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3881 printf "%s\n" "no" >&6; }
   3882 fi
   3883 
   3884 
   3885 fi
   3886 if test -z "$CC"; then
   3887   if test -n "$ac_tool_prefix"; then
   3888   for ac_prog in cl.exe
   3889   do
   3890     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3891 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3893 printf %s "checking for $ac_word... " >&6; }
   3894 if test ${ac_cv_prog_CC+y}
   3895 then :
   3896   printf %s "(cached) " >&6
   3897 else case e in #(
   3898   e) if test -n "$CC"; then
   3899   ac_cv_prog_CC="$CC" # Let the user override the test.
   3900 else
   3901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3902 for as_dir in $PATH
   3903 do
   3904   IFS=$as_save_IFS
   3905   case $as_dir in #(((
   3906     '') as_dir=./ ;;
   3907     */) ;;
   3908     *) as_dir=$as_dir/ ;;
   3909   esac
   3910     for ac_exec_ext in '' $ac_executable_extensions; do
   3911   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3912     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3913     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3914     break 2
   3915   fi
   3916 done
   3917   done
   3918 IFS=$as_save_IFS
   3919 
   3920 fi ;;
   3921 esac
   3922 fi
   3923 CC=$ac_cv_prog_CC
   3924 if test -n "$CC"; then
   3925   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3926 printf "%s\n" "$CC" >&6; }
   3927 else
   3928   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3929 printf "%s\n" "no" >&6; }
   3930 fi
   3931 
   3932 
   3933     test -n "$CC" && break
   3934   done
   3935 fi
   3936 if test -z "$CC"; then
   3937   ac_ct_CC=$CC
   3938   for ac_prog in cl.exe
   3939 do
   3940   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3941 set dummy $ac_prog; ac_word=$2
   3942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3943 printf %s "checking for $ac_word... " >&6; }
   3944 if test ${ac_cv_prog_ac_ct_CC+y}
   3945 then :
   3946   printf %s "(cached) " >&6
   3947 else case e in #(
   3948   e) if test -n "$ac_ct_CC"; then
   3949   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3950 else
   3951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3952 for as_dir in $PATH
   3953 do
   3954   IFS=$as_save_IFS
   3955   case $as_dir in #(((
   3956     '') as_dir=./ ;;
   3957     */) ;;
   3958     *) as_dir=$as_dir/ ;;
   3959   esac
   3960     for ac_exec_ext in '' $ac_executable_extensions; do
   3961   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3962     ac_cv_prog_ac_ct_CC="$ac_prog"
   3963     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3964     break 2
   3965   fi
   3966 done
   3967   done
   3968 IFS=$as_save_IFS
   3969 
   3970 fi ;;
   3971 esac
   3972 fi
   3973 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3974 if test -n "$ac_ct_CC"; then
   3975   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3976 printf "%s\n" "$ac_ct_CC" >&6; }
   3977 else
   3978   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3979 printf "%s\n" "no" >&6; }
   3980 fi
   3981 
   3982 
   3983   test -n "$ac_ct_CC" && break
   3984 done
   3985 
   3986   if test "x$ac_ct_CC" = x; then
   3987     CC=""
   3988   else
   3989     case $cross_compiling:$ac_tool_warned in
   3990 yes:)
   3991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3992 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3993 ac_tool_warned=yes ;;
   3994 esac
   3995     CC=$ac_ct_CC
   3996   fi
   3997 fi
   3998 
   3999 fi
   4000 if test -z "$CC"; then
   4001   if test -n "$ac_tool_prefix"; then
   4002   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   4003 set dummy ${ac_tool_prefix}clang; ac_word=$2
   4004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4005 printf %s "checking for $ac_word... " >&6; }
   4006 if test ${ac_cv_prog_CC+y}
   4007 then :
   4008   printf %s "(cached) " >&6
   4009 else case e in #(
   4010   e) if test -n "$CC"; then
   4011   ac_cv_prog_CC="$CC" # Let the user override the test.
   4012 else
   4013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4014 for as_dir in $PATH
   4015 do
   4016   IFS=$as_save_IFS
   4017   case $as_dir in #(((
   4018     '') as_dir=./ ;;
   4019     */) ;;
   4020     *) as_dir=$as_dir/ ;;
   4021   esac
   4022     for ac_exec_ext in '' $ac_executable_extensions; do
   4023   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4024     ac_cv_prog_CC="${ac_tool_prefix}clang"
   4025     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4026     break 2
   4027   fi
   4028 done
   4029   done
   4030 IFS=$as_save_IFS
   4031 
   4032 fi ;;
   4033 esac
   4034 fi
   4035 CC=$ac_cv_prog_CC
   4036 if test -n "$CC"; then
   4037   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4038 printf "%s\n" "$CC" >&6; }
   4039 else
   4040   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4041 printf "%s\n" "no" >&6; }
   4042 fi
   4043 
   4044 
   4045 fi
   4046 if test -z "$ac_cv_prog_CC"; then
   4047   ac_ct_CC=$CC
   4048   # Extract the first word of "clang", so it can be a program name with args.
   4049 set dummy clang; ac_word=$2
   4050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4051 printf %s "checking for $ac_word... " >&6; }
   4052 if test ${ac_cv_prog_ac_ct_CC+y}
   4053 then :
   4054   printf %s "(cached) " >&6
   4055 else case e in #(
   4056   e) if test -n "$ac_ct_CC"; then
   4057   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4058 else
   4059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4060 for as_dir in $PATH
   4061 do
   4062   IFS=$as_save_IFS
   4063   case $as_dir in #(((
   4064     '') as_dir=./ ;;
   4065     */) ;;
   4066     *) as_dir=$as_dir/ ;;
   4067   esac
   4068     for ac_exec_ext in '' $ac_executable_extensions; do
   4069   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4070     ac_cv_prog_ac_ct_CC="clang"
   4071     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4072     break 2
   4073   fi
   4074 done
   4075   done
   4076 IFS=$as_save_IFS
   4077 
   4078 fi ;;
   4079 esac
   4080 fi
   4081 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4082 if test -n "$ac_ct_CC"; then
   4083   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4084 printf "%s\n" "$ac_ct_CC" >&6; }
   4085 else
   4086   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4087 printf "%s\n" "no" >&6; }
   4088 fi
   4089 
   4090   if test "x$ac_ct_CC" = x; then
   4091     CC=""
   4092   else
   4093     case $cross_compiling:$ac_tool_warned in
   4094 yes:)
   4095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4096 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4097 ac_tool_warned=yes ;;
   4098 esac
   4099     CC=$ac_ct_CC
   4100   fi
   4101 else
   4102   CC="$ac_cv_prog_CC"
   4103 fi
   4104 
   4105 fi
   4106 
   4107 
   4108 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4109 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4110 as_fn_error $? "no acceptable C compiler found in \$PATH
   4111 See 'config.log' for more details" "$LINENO" 5; }
   4112 
   4113 # Provide some information about the compiler.
   4114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4115 set X $ac_compile
   4116 ac_compiler=$2
   4117 for ac_option in --version -v -V -qversion -version; do
   4118   { { ac_try="$ac_compiler $ac_option >&5"
   4119 case "(($ac_try" in
   4120   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4121   *) ac_try_echo=$ac_try;;
   4122 esac
   4123 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4124 printf "%s\n" "$ac_try_echo"; } >&5
   4125   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4126   ac_status=$?
   4127   if test -s conftest.err; then
   4128     sed '10a\
   4129 ... rest of stderr output deleted ...
   4130          10q' conftest.err >conftest.er1
   4131     cat conftest.er1 >&5
   4132   fi
   4133   rm -f conftest.er1 conftest.err
   4134   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4135   test $ac_status = 0; }
   4136 done
   4137 
   4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4139 /* end confdefs.h.  */
   4140 
   4141 int
   4142 main (void)
   4143 {
   4144 
   4145   ;
   4146   return 0;
   4147 }
   4148 _ACEOF
   4149 ac_clean_files_save=$ac_clean_files
   4150 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4151 # Try to create an executable without -o first, disregard a.out.
   4152 # It will help us diagnose broken compilers, and finding out an intuition
   4153 # of exeext.
   4154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4155 printf %s "checking whether the C compiler works... " >&6; }
   4156 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4157 
   4158 # The possible output files:
   4159 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4160 
   4161 ac_rmfiles=
   4162 for ac_file in $ac_files
   4163 do
   4164   case $ac_file in
   4165     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4166     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4167   esac
   4168 done
   4169 rm -f $ac_rmfiles
   4170 
   4171 if { { ac_try="$ac_link_default"
   4172 case "(($ac_try" in
   4173   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4174   *) ac_try_echo=$ac_try;;
   4175 esac
   4176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4177 printf "%s\n" "$ac_try_echo"; } >&5
   4178   (eval "$ac_link_default") 2>&5
   4179   ac_status=$?
   4180   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4181   test $ac_status = 0; }
   4182 then :
   4183   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4184 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4185 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4186 # so that the user can short-circuit this test for compilers unknown to
   4187 # Autoconf.
   4188 for ac_file in $ac_files ''
   4189 do
   4190   test -f "$ac_file" || continue
   4191   case $ac_file in
   4192     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4193 	;;
   4194     [ab].out )
   4195 	# We found the default executable, but exeext='' is most
   4196 	# certainly right.
   4197 	break;;
   4198     *.* )
   4199 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4200 	then :; else
   4201 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4202 	fi
   4203 	# We set ac_cv_exeext here because the later test for it is not
   4204 	# safe: cross compilers may not add the suffix if given an '-o'
   4205 	# argument, so we may need to know it at that point already.
   4206 	# Even if this section looks crufty: it has the advantage of
   4207 	# actually working.
   4208 	break;;
   4209     * )
   4210 	break;;
   4211   esac
   4212 done
   4213 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4214 
   4215 else case e in #(
   4216   e) ac_file='' ;;
   4217 esac
   4218 fi
   4219 if test -z "$ac_file"
   4220 then :
   4221   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4222 printf "%s\n" "no" >&6; }
   4223 printf "%s\n" "$as_me: failed program was:" >&5
   4224 sed 's/^/| /' conftest.$ac_ext >&5
   4225 
   4226 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4227 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4228 as_fn_error 77 "C compiler cannot create executables
   4229 See 'config.log' for more details" "$LINENO" 5; }
   4230 else case e in #(
   4231   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4232 printf "%s\n" "yes" >&6; } ;;
   4233 esac
   4234 fi
   4235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4236 printf %s "checking for C compiler default output file name... " >&6; }
   4237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4238 printf "%s\n" "$ac_file" >&6; }
   4239 ac_exeext=$ac_cv_exeext
   4240 
   4241 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4242 ac_clean_files=$ac_clean_files_save
   4243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4244 printf %s "checking for suffix of executables... " >&6; }
   4245 if { { ac_try="$ac_link"
   4246 case "(($ac_try" in
   4247   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4248   *) ac_try_echo=$ac_try;;
   4249 esac
   4250 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4251 printf "%s\n" "$ac_try_echo"; } >&5
   4252   (eval "$ac_link") 2>&5
   4253   ac_status=$?
   4254   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4255   test $ac_status = 0; }
   4256 then :
   4257   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4258 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4259 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4260 # 'rm'.
   4261 for ac_file in conftest.exe conftest conftest.*; do
   4262   test -f "$ac_file" || continue
   4263   case $ac_file in
   4264     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4265     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4266 	  break;;
   4267     * ) break;;
   4268   esac
   4269 done
   4270 else case e in #(
   4271   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4272 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4273 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4274 See 'config.log' for more details" "$LINENO" 5; } ;;
   4275 esac
   4276 fi
   4277 rm -f conftest conftest$ac_cv_exeext
   4278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4279 printf "%s\n" "$ac_cv_exeext" >&6; }
   4280 
   4281 rm -f conftest.$ac_ext
   4282 EXEEXT=$ac_cv_exeext
   4283 ac_exeext=$EXEEXT
   4284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4285 /* end confdefs.h.  */
   4286 #include <stdio.h>
   4287 int
   4288 main (void)
   4289 {
   4290 FILE *f = fopen ("conftest.out", "w");
   4291  if (!f)
   4292   return 1;
   4293  return ferror (f) || fclose (f) != 0;
   4294 
   4295   ;
   4296   return 0;
   4297 }
   4298 _ACEOF
   4299 ac_clean_files="$ac_clean_files conftest.out"
   4300 # Check that the compiler produces executables we can run.  If not, either
   4301 # the compiler is broken, or we cross compile.
   4302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4303 printf %s "checking whether we are cross compiling... " >&6; }
   4304 if test "$cross_compiling" != yes; then
   4305   { { ac_try="$ac_link"
   4306 case "(($ac_try" in
   4307   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4308   *) ac_try_echo=$ac_try;;
   4309 esac
   4310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4311 printf "%s\n" "$ac_try_echo"; } >&5
   4312   (eval "$ac_link") 2>&5
   4313   ac_status=$?
   4314   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4315   test $ac_status = 0; }
   4316   if { ac_try='./conftest$ac_cv_exeext'
   4317   { { case "(($ac_try" in
   4318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4319   *) ac_try_echo=$ac_try;;
   4320 esac
   4321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4322 printf "%s\n" "$ac_try_echo"; } >&5
   4323   (eval "$ac_try") 2>&5
   4324   ac_status=$?
   4325   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4326   test $ac_status = 0; }; }; then
   4327     cross_compiling=no
   4328   else
   4329     if test "$cross_compiling" = maybe; then
   4330 	cross_compiling=yes
   4331     else
   4332 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4333 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4334 as_fn_error 77 "cannot run C compiled programs.
   4335 If you meant to cross compile, use '--host'.
   4336 See 'config.log' for more details" "$LINENO" 5; }
   4337     fi
   4338   fi
   4339 fi
   4340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4341 printf "%s\n" "$cross_compiling" >&6; }
   4342 
   4343 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4344   conftest.o conftest.obj conftest.out
   4345 ac_clean_files=$ac_clean_files_save
   4346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4347 printf %s "checking for suffix of object files... " >&6; }
   4348 if test ${ac_cv_objext+y}
   4349 then :
   4350   printf %s "(cached) " >&6
   4351 else case e in #(
   4352   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4353 /* end confdefs.h.  */
   4354 
   4355 int
   4356 main (void)
   4357 {
   4358 
   4359   ;
   4360   return 0;
   4361 }
   4362 _ACEOF
   4363 rm -f conftest.o conftest.obj
   4364 if { { ac_try="$ac_compile"
   4365 case "(($ac_try" in
   4366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4367   *) ac_try_echo=$ac_try;;
   4368 esac
   4369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4370 printf "%s\n" "$ac_try_echo"; } >&5
   4371   (eval "$ac_compile") 2>&5
   4372   ac_status=$?
   4373   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4374   test $ac_status = 0; }
   4375 then :
   4376   for ac_file in conftest.o conftest.obj conftest.*; do
   4377   test -f "$ac_file" || continue;
   4378   case $ac_file in
   4379     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4380     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4381        break;;
   4382   esac
   4383 done
   4384 else case e in #(
   4385   e) printf "%s\n" "$as_me: failed program was:" >&5
   4386 sed 's/^/| /' conftest.$ac_ext >&5
   4387 
   4388 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4389 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4390 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4391 See 'config.log' for more details" "$LINENO" 5; } ;;
   4392 esac
   4393 fi
   4394 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4395 esac
   4396 fi
   4397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4398 printf "%s\n" "$ac_cv_objext" >&6; }
   4399 OBJEXT=$ac_cv_objext
   4400 ac_objext=$OBJEXT
   4401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4402 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4403 if test ${ac_cv_c_compiler_gnu+y}
   4404 then :
   4405   printf %s "(cached) " >&6
   4406 else case e in #(
   4407   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4408 /* end confdefs.h.  */
   4409 
   4410 int
   4411 main (void)
   4412 {
   4413 #ifndef __GNUC__
   4414        choke me
   4415 #endif
   4416 
   4417   ;
   4418   return 0;
   4419 }
   4420 _ACEOF
   4421 if ac_fn_c_try_compile "$LINENO"
   4422 then :
   4423   ac_compiler_gnu=yes
   4424 else case e in #(
   4425   e) ac_compiler_gnu=no ;;
   4426 esac
   4427 fi
   4428 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4429 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4430  ;;
   4431 esac
   4432 fi
   4433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4434 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4436 
   4437 if test $ac_compiler_gnu = yes; then
   4438   GCC=yes
   4439 else
   4440   GCC=
   4441 fi
   4442 ac_test_CFLAGS=${CFLAGS+y}
   4443 ac_save_CFLAGS=$CFLAGS
   4444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4445 printf %s "checking whether $CC accepts -g... " >&6; }
   4446 if test ${ac_cv_prog_cc_g+y}
   4447 then :
   4448   printf %s "(cached) " >&6
   4449 else case e in #(
   4450   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4451    ac_c_werror_flag=yes
   4452    ac_cv_prog_cc_g=no
   4453    CFLAGS="-g"
   4454    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4455 /* end confdefs.h.  */
   4456 
   4457 int
   4458 main (void)
   4459 {
   4460 
   4461   ;
   4462   return 0;
   4463 }
   4464 _ACEOF
   4465 if ac_fn_c_try_compile "$LINENO"
   4466 then :
   4467   ac_cv_prog_cc_g=yes
   4468 else case e in #(
   4469   e) CFLAGS=""
   4470       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4471 /* end confdefs.h.  */
   4472 
   4473 int
   4474 main (void)
   4475 {
   4476 
   4477   ;
   4478   return 0;
   4479 }
   4480 _ACEOF
   4481 if ac_fn_c_try_compile "$LINENO"
   4482 then :
   4483 
   4484 else case e in #(
   4485   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4486 	 CFLAGS="-g"
   4487 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4488 /* end confdefs.h.  */
   4489 
   4490 int
   4491 main (void)
   4492 {
   4493 
   4494   ;
   4495   return 0;
   4496 }
   4497 _ACEOF
   4498 if ac_fn_c_try_compile "$LINENO"
   4499 then :
   4500   ac_cv_prog_cc_g=yes
   4501 fi
   4502 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4503 esac
   4504 fi
   4505 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4506 esac
   4507 fi
   4508 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4509    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4510 esac
   4511 fi
   4512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4513 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4514 if test $ac_test_CFLAGS; then
   4515   CFLAGS=$ac_save_CFLAGS
   4516 elif test $ac_cv_prog_cc_g = yes; then
   4517   if test "$GCC" = yes; then
   4518     CFLAGS="-g -O2"
   4519   else
   4520     CFLAGS="-g"
   4521   fi
   4522 else
   4523   if test "$GCC" = yes; then
   4524     CFLAGS="-O2"
   4525   else
   4526     CFLAGS=
   4527   fi
   4528 fi
   4529 ac_prog_cc_stdc=no
   4530 if test x$ac_prog_cc_stdc = xno
   4531 then :
   4532   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4533 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4534 if test ${ac_cv_prog_cc_c11+y}
   4535 then :
   4536   printf %s "(cached) " >&6
   4537 else case e in #(
   4538   e) ac_cv_prog_cc_c11=no
   4539 ac_save_CC=$CC
   4540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4541 /* end confdefs.h.  */
   4542 $ac_c_conftest_c11_program
   4543 _ACEOF
   4544 for ac_arg in '' -std=gnu11
   4545 do
   4546   CC="$ac_save_CC $ac_arg"
   4547   if ac_fn_c_try_compile "$LINENO"
   4548 then :
   4549   ac_cv_prog_cc_c11=$ac_arg
   4550 fi
   4551 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4552   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4553 done
   4554 rm -f conftest.$ac_ext
   4555 CC=$ac_save_CC ;;
   4556 esac
   4557 fi
   4558 
   4559 if test "x$ac_cv_prog_cc_c11" = xno
   4560 then :
   4561   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4562 printf "%s\n" "unsupported" >&6; }
   4563 else case e in #(
   4564   e) if test "x$ac_cv_prog_cc_c11" = x
   4565 then :
   4566   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4567 printf "%s\n" "none needed" >&6; }
   4568 else case e in #(
   4569   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4570 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4571      CC="$CC $ac_cv_prog_cc_c11" ;;
   4572 esac
   4573 fi
   4574   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4575   ac_prog_cc_stdc=c11 ;;
   4576 esac
   4577 fi
   4578 fi
   4579 if test x$ac_prog_cc_stdc = xno
   4580 then :
   4581   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4582 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4583 if test ${ac_cv_prog_cc_c99+y}
   4584 then :
   4585   printf %s "(cached) " >&6
   4586 else case e in #(
   4587   e) ac_cv_prog_cc_c99=no
   4588 ac_save_CC=$CC
   4589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4590 /* end confdefs.h.  */
   4591 $ac_c_conftest_c99_program
   4592 _ACEOF
   4593 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4594 do
   4595   CC="$ac_save_CC $ac_arg"
   4596   if ac_fn_c_try_compile "$LINENO"
   4597 then :
   4598   ac_cv_prog_cc_c99=$ac_arg
   4599 fi
   4600 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4601   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4602 done
   4603 rm -f conftest.$ac_ext
   4604 CC=$ac_save_CC ;;
   4605 esac
   4606 fi
   4607 
   4608 if test "x$ac_cv_prog_cc_c99" = xno
   4609 then :
   4610   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4611 printf "%s\n" "unsupported" >&6; }
   4612 else case e in #(
   4613   e) if test "x$ac_cv_prog_cc_c99" = x
   4614 then :
   4615   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4616 printf "%s\n" "none needed" >&6; }
   4617 else case e in #(
   4618   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4619 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4620      CC="$CC $ac_cv_prog_cc_c99" ;;
   4621 esac
   4622 fi
   4623   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4624   ac_prog_cc_stdc=c99 ;;
   4625 esac
   4626 fi
   4627 fi
   4628 if test x$ac_prog_cc_stdc = xno
   4629 then :
   4630   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4631 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4632 if test ${ac_cv_prog_cc_c89+y}
   4633 then :
   4634   printf %s "(cached) " >&6
   4635 else case e in #(
   4636   e) ac_cv_prog_cc_c89=no
   4637 ac_save_CC=$CC
   4638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4639 /* end confdefs.h.  */
   4640 $ac_c_conftest_c89_program
   4641 _ACEOF
   4642 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4643 do
   4644   CC="$ac_save_CC $ac_arg"
   4645   if ac_fn_c_try_compile "$LINENO"
   4646 then :
   4647   ac_cv_prog_cc_c89=$ac_arg
   4648 fi
   4649 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4650   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4651 done
   4652 rm -f conftest.$ac_ext
   4653 CC=$ac_save_CC ;;
   4654 esac
   4655 fi
   4656 
   4657 if test "x$ac_cv_prog_cc_c89" = xno
   4658 then :
   4659   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4660 printf "%s\n" "unsupported" >&6; }
   4661 else case e in #(
   4662   e) if test "x$ac_cv_prog_cc_c89" = x
   4663 then :
   4664   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4665 printf "%s\n" "none needed" >&6; }
   4666 else case e in #(
   4667   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4668 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4669      CC="$CC $ac_cv_prog_cc_c89" ;;
   4670 esac
   4671 fi
   4672   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4673   ac_prog_cc_stdc=c89 ;;
   4674 esac
   4675 fi
   4676 fi
   4677 
   4678 ac_ext=c
   4679 ac_cpp='$CPP $CPPFLAGS'
   4680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4683 
   4684 
   4685   ac_ext=c
   4686 ac_cpp='$CPP $CPPFLAGS'
   4687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4691 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4692 if test ${am_cv_prog_cc_c_o+y}
   4693 then :
   4694   printf %s "(cached) " >&6
   4695 else case e in #(
   4696   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4697 /* end confdefs.h.  */
   4698 
   4699 int
   4700 main (void)
   4701 {
   4702 
   4703   ;
   4704   return 0;
   4705 }
   4706 _ACEOF
   4707   # Make sure it works both with $CC and with simple cc.
   4708   # Following AC_PROG_CC_C_O, we do the test twice because some
   4709   # compilers refuse to overwrite an existing .o file with -o,
   4710   # though they will create one.
   4711   am_cv_prog_cc_c_o=yes
   4712   for am_i in 1 2; do
   4713     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4714    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4715    ac_status=$?
   4716    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4717    (exit $ac_status); } \
   4718          && test -f conftest2.$ac_objext; then
   4719       : OK
   4720     else
   4721       am_cv_prog_cc_c_o=no
   4722       break
   4723     fi
   4724   done
   4725   rm -f core conftest*
   4726   unset am_i ;;
   4727 esac
   4728 fi
   4729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4730 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4731 if test "$am_cv_prog_cc_c_o" != yes; then
   4732    # Losing compiler, so override with the script.
   4733    # FIXME: It is wrong to rewrite CC.
   4734    # But if we don't then we get into trouble of one sort or another.
   4735    # A longer-term fix would be to have automake use am__CC in this case,
   4736    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4737    CC="$am_aux_dir/compile $CC"
   4738 fi
   4739 ac_ext=c
   4740 ac_cpp='$CPP $CPPFLAGS'
   4741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4744 
   4745 
   4746 depcc="$CC"   am_compiler_list=
   4747 
   4748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4749 printf %s "checking dependency style of $depcc... " >&6; }
   4750 if test ${am_cv_CC_dependencies_compiler_type+y}
   4751 then :
   4752   printf %s "(cached) " >&6
   4753 else case e in #(
   4754   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4755   # We make a subdir and do the tests there.  Otherwise we can end up
   4756   # making bogus files that we don't know about and never remove.  For
   4757   # instance it was reported that on HP-UX the gcc test will end up
   4758   # making a dummy file named 'D' -- because '-MD' means "put the output
   4759   # in D".
   4760   rm -rf conftest.dir
   4761   mkdir conftest.dir
   4762   # Copy depcomp to subdir because otherwise we won't find it if we're
   4763   # using a relative directory.
   4764   cp "$am_depcomp" conftest.dir
   4765   cd conftest.dir
   4766   # We will build objects and dependencies in a subdirectory because
   4767   # it helps to detect inapplicable dependency modes.  For instance
   4768   # both Tru64's cc and ICC support -MD to output dependencies as a
   4769   # side effect of compilation, but ICC will put the dependencies in
   4770   # the current directory while Tru64 will put them in the object
   4771   # directory.
   4772   mkdir sub
   4773 
   4774   am_cv_CC_dependencies_compiler_type=none
   4775   if test "$am_compiler_list" = ""; then
   4776      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4777   fi
   4778   am__universal=false
   4779   case " $depcc " in #(
   4780      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4781      esac
   4782 
   4783   for depmode in $am_compiler_list; do
   4784     # Setup a source with many dependencies, because some compilers
   4785     # like to wrap large dependency lists on column 80 (with \), and
   4786     # we should not choose a depcomp mode which is confused by this.
   4787     #
   4788     # We need to recreate these files for each test, as the compiler may
   4789     # overwrite some of them when testing with obscure command lines.
   4790     # This happens at least with the AIX C compiler.
   4791     : > sub/conftest.c
   4792     for i in 1 2 3 4 5 6; do
   4793       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4794       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4795       # Solaris 10 /bin/sh.
   4796       echo '/* dummy */' > sub/conftst$i.h
   4797     done
   4798     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4799 
   4800     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4801     # mode.  It turns out that the SunPro C++ compiler does not properly
   4802     # handle '-M -o', and we need to detect this.  Also, some Intel
   4803     # versions had trouble with output in subdirs.
   4804     am__obj=sub/conftest.${OBJEXT-o}
   4805     am__minus_obj="-o $am__obj"
   4806     case $depmode in
   4807     gcc)
   4808       # This depmode causes a compiler race in universal mode.
   4809       test "$am__universal" = false || continue
   4810       ;;
   4811     nosideeffect)
   4812       # After this tag, mechanisms are not by side-effect, so they'll
   4813       # only be used when explicitly requested.
   4814       if test "x$enable_dependency_tracking" = xyes; then
   4815 	continue
   4816       else
   4817 	break
   4818       fi
   4819       ;;
   4820     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4821       # This compiler won't grok '-c -o', but also, the minuso test has
   4822       # not run yet.  These depmodes are late enough in the game, and
   4823       # so weak that their functioning should not be impacted.
   4824       am__obj=conftest.${OBJEXT-o}
   4825       am__minus_obj=
   4826       ;;
   4827     none) break ;;
   4828     esac
   4829     if depmode=$depmode \
   4830        source=sub/conftest.c object=$am__obj \
   4831        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4832        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4833          >/dev/null 2>conftest.err &&
   4834        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4835        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4836        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4837        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4838       # icc doesn't choke on unknown options, it will just issue warnings
   4839       # or remarks (even with -Werror).  So we grep stderr for any message
   4840       # that says an option was ignored or not supported.
   4841       # When given -MP, icc 7.0 and 7.1 complain thus:
   4842       #   icc: Command line warning: ignoring option '-M'; no argument required
   4843       # The diagnosis changed in icc 8.0:
   4844       #   icc: Command line remark: option '-MP' not supported
   4845       if (grep 'ignoring option' conftest.err ||
   4846           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4847         am_cv_CC_dependencies_compiler_type=$depmode
   4848         break
   4849       fi
   4850     fi
   4851   done
   4852 
   4853   cd ..
   4854   rm -rf conftest.dir
   4855 else
   4856   am_cv_CC_dependencies_compiler_type=none
   4857 fi
   4858  ;;
   4859 esac
   4860 fi
   4861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4862 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4863 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4864 
   4865  if
   4866   test "x$enable_dependency_tracking" != xno \
   4867   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4868   am__fastdepCC_TRUE=
   4869   am__fastdepCC_FALSE='#'
   4870 else
   4871   am__fastdepCC_TRUE='#'
   4872   am__fastdepCC_FALSE=
   4873 fi
   4874 
   4875 
   4876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4877 printf %s "checking for a sed that does not truncate output... " >&6; }
   4878 if test ${ac_cv_path_SED+y}
   4879 then :
   4880   printf %s "(cached) " >&6
   4881 else case e in #(
   4882   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4883      for ac_i in 1 2 3 4 5 6 7; do
   4884        ac_script="$ac_script$as_nl$ac_script"
   4885      done
   4886      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4887      { ac_script=; unset ac_script;}
   4888      if test -z "$SED"; then
   4889   ac_path_SED_found=false
   4890   # Loop through the user's path and test for each of PROGNAME-LIST
   4891   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4892 for as_dir in $PATH
   4893 do
   4894   IFS=$as_save_IFS
   4895   case $as_dir in #(((
   4896     '') as_dir=./ ;;
   4897     */) ;;
   4898     *) as_dir=$as_dir/ ;;
   4899   esac
   4900     for ac_prog in sed gsed
   4901    do
   4902     for ac_exec_ext in '' $ac_executable_extensions; do
   4903       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4904       as_fn_executable_p "$ac_path_SED" || continue
   4905 # Check for GNU ac_path_SED and select it if it is found.
   4906   # Check for GNU $ac_path_SED
   4907 case `"$ac_path_SED" --version 2>&1` in #(
   4908 *GNU*)
   4909   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4910 #(
   4911 *)
   4912   ac_count=0
   4913   printf %s 0123456789 >"conftest.in"
   4914   while :
   4915   do
   4916     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4917     mv "conftest.tmp" "conftest.in"
   4918     cp "conftest.in" "conftest.nl"
   4919     printf "%s\n" '' >> "conftest.nl"
   4920     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4921     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4922     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4923     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4924       # Best one so far, save it but keep looking for a better one
   4925       ac_cv_path_SED="$ac_path_SED"
   4926       ac_path_SED_max=$ac_count
   4927     fi
   4928     # 10*(2^10) chars as input seems more than enough
   4929     test $ac_count -gt 10 && break
   4930   done
   4931   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4932 esac
   4933 
   4934       $ac_path_SED_found && break 3
   4935     done
   4936   done
   4937   done
   4938 IFS=$as_save_IFS
   4939   if test -z "$ac_cv_path_SED"; then
   4940     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4941   fi
   4942 else
   4943   ac_cv_path_SED=$SED
   4944 fi
   4945  ;;
   4946 esac
   4947 fi
   4948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4949 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4950  SED="$ac_cv_path_SED"
   4951   rm -f conftest.sed
   4952 
   4953 test -z "$SED" && SED=sed
   4954 Xsed="$SED -e 1s/^X//"
   4955 
   4956 
   4957 
   4958 
   4959 
   4960 
   4961 
   4962 
   4963 
   4964 
   4965 
   4966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4967 printf %s "checking for grep that handles long lines and -e... " >&6; }
   4968 if test ${ac_cv_path_GREP+y}
   4969 then :
   4970   printf %s "(cached) " >&6
   4971 else case e in #(
   4972   e) if test -z "$GREP"; then
   4973   ac_path_GREP_found=false
   4974   # Loop through the user's path and test for each of PROGNAME-LIST
   4975   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4976 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4977 do
   4978   IFS=$as_save_IFS
   4979   case $as_dir in #(((
   4980     '') as_dir=./ ;;
   4981     */) ;;
   4982     *) as_dir=$as_dir/ ;;
   4983   esac
   4984     for ac_prog in grep ggrep
   4985    do
   4986     for ac_exec_ext in '' $ac_executable_extensions; do
   4987       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   4988       as_fn_executable_p "$ac_path_GREP" || continue
   4989 # Check for GNU ac_path_GREP and select it if it is found.
   4990   # Check for GNU $ac_path_GREP
   4991 case `"$ac_path_GREP" --version 2>&1` in #(
   4992 *GNU*)
   4993   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4994 #(
   4995 *)
   4996   ac_count=0
   4997   printf %s 0123456789 >"conftest.in"
   4998   while :
   4999   do
   5000     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5001     mv "conftest.tmp" "conftest.in"
   5002     cp "conftest.in" "conftest.nl"
   5003     printf "%s\n" 'GREP' >> "conftest.nl"
   5004     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5005     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5006     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5007     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5008       # Best one so far, save it but keep looking for a better one
   5009       ac_cv_path_GREP="$ac_path_GREP"
   5010       ac_path_GREP_max=$ac_count
   5011     fi
   5012     # 10*(2^10) chars as input seems more than enough
   5013     test $ac_count -gt 10 && break
   5014   done
   5015   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5016 esac
   5017 
   5018       $ac_path_GREP_found && break 3
   5019     done
   5020   done
   5021   done
   5022 IFS=$as_save_IFS
   5023   if test -z "$ac_cv_path_GREP"; then
   5024     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5025   fi
   5026 else
   5027   ac_cv_path_GREP=$GREP
   5028 fi
   5029  ;;
   5030 esac
   5031 fi
   5032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5033 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5034  GREP="$ac_cv_path_GREP"
   5035 
   5036 
   5037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5038 printf %s "checking for egrep... " >&6; }
   5039 if test ${ac_cv_path_EGREP+y}
   5040 then :
   5041   printf %s "(cached) " >&6
   5042 else case e in #(
   5043   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5044    then ac_cv_path_EGREP="$GREP -E"
   5045    else
   5046      if test -z "$EGREP"; then
   5047   ac_path_EGREP_found=false
   5048   # Loop through the user's path and test for each of PROGNAME-LIST
   5049   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5050 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5051 do
   5052   IFS=$as_save_IFS
   5053   case $as_dir in #(((
   5054     '') as_dir=./ ;;
   5055     */) ;;
   5056     *) as_dir=$as_dir/ ;;
   5057   esac
   5058     for ac_prog in egrep
   5059    do
   5060     for ac_exec_ext in '' $ac_executable_extensions; do
   5061       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5062       as_fn_executable_p "$ac_path_EGREP" || continue
   5063 # Check for GNU ac_path_EGREP and select it if it is found.
   5064   # Check for GNU $ac_path_EGREP
   5065 case `"$ac_path_EGREP" --version 2>&1` in #(
   5066 *GNU*)
   5067   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5068 #(
   5069 *)
   5070   ac_count=0
   5071   printf %s 0123456789 >"conftest.in"
   5072   while :
   5073   do
   5074     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5075     mv "conftest.tmp" "conftest.in"
   5076     cp "conftest.in" "conftest.nl"
   5077     printf "%s\n" 'EGREP' >> "conftest.nl"
   5078     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5079     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5080     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5081     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5082       # Best one so far, save it but keep looking for a better one
   5083       ac_cv_path_EGREP="$ac_path_EGREP"
   5084       ac_path_EGREP_max=$ac_count
   5085     fi
   5086     # 10*(2^10) chars as input seems more than enough
   5087     test $ac_count -gt 10 && break
   5088   done
   5089   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5090 esac
   5091 
   5092       $ac_path_EGREP_found && break 3
   5093     done
   5094   done
   5095   done
   5096 IFS=$as_save_IFS
   5097   if test -z "$ac_cv_path_EGREP"; then
   5098     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5099   fi
   5100 else
   5101   ac_cv_path_EGREP=$EGREP
   5102 fi
   5103 
   5104    fi ;;
   5105 esac
   5106 fi
   5107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5108 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5109  EGREP="$ac_cv_path_EGREP"
   5110 
   5111          EGREP_TRADITIONAL=$EGREP
   5112  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   5113 
   5114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5115 printf %s "checking for fgrep... " >&6; }
   5116 if test ${ac_cv_path_FGREP+y}
   5117 then :
   5118   printf %s "(cached) " >&6
   5119 else case e in #(
   5120   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5121    then ac_cv_path_FGREP="$GREP -F"
   5122    else
   5123      if test -z "$FGREP"; then
   5124   ac_path_FGREP_found=false
   5125   # Loop through the user's path and test for each of PROGNAME-LIST
   5126   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5127 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5128 do
   5129   IFS=$as_save_IFS
   5130   case $as_dir in #(((
   5131     '') as_dir=./ ;;
   5132     */) ;;
   5133     *) as_dir=$as_dir/ ;;
   5134   esac
   5135     for ac_prog in fgrep
   5136    do
   5137     for ac_exec_ext in '' $ac_executable_extensions; do
   5138       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5139       as_fn_executable_p "$ac_path_FGREP" || continue
   5140 # Check for GNU ac_path_FGREP and select it if it is found.
   5141   # Check for GNU $ac_path_FGREP
   5142 case `"$ac_path_FGREP" --version 2>&1` in #(
   5143 *GNU*)
   5144   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5145 #(
   5146 *)
   5147   ac_count=0
   5148   printf %s 0123456789 >"conftest.in"
   5149   while :
   5150   do
   5151     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5152     mv "conftest.tmp" "conftest.in"
   5153     cp "conftest.in" "conftest.nl"
   5154     printf "%s\n" 'FGREP' >> "conftest.nl"
   5155     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5156     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5157     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5158     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5159       # Best one so far, save it but keep looking for a better one
   5160       ac_cv_path_FGREP="$ac_path_FGREP"
   5161       ac_path_FGREP_max=$ac_count
   5162     fi
   5163     # 10*(2^10) chars as input seems more than enough
   5164     test $ac_count -gt 10 && break
   5165   done
   5166   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5167 esac
   5168 
   5169       $ac_path_FGREP_found && break 3
   5170     done
   5171   done
   5172   done
   5173 IFS=$as_save_IFS
   5174   if test -z "$ac_cv_path_FGREP"; then
   5175     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5176   fi
   5177 else
   5178   ac_cv_path_FGREP=$FGREP
   5179 fi
   5180 
   5181    fi ;;
   5182 esac
   5183 fi
   5184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5185 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5186  FGREP="$ac_cv_path_FGREP"
   5187 
   5188 
   5189 test -z "$GREP" && GREP=grep
   5190 
   5191 
   5192 
   5193 
   5194 
   5195 
   5196 
   5197 
   5198 
   5199 
   5200 
   5201 
   5202 
   5203 
   5204 
   5205 
   5206 
   5207 
   5208 
   5209 # Check whether --with-gnu-ld was given.
   5210 if test ${with_gnu_ld+y}
   5211 then :
   5212   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5213 else case e in #(
   5214   e) with_gnu_ld=no ;;
   5215 esac
   5216 fi
   5217 
   5218 ac_prog=ld
   5219 if test yes = "$GCC"; then
   5220   # Check if gcc -print-prog-name=ld gives a path.
   5221   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5222 printf %s "checking for ld used by $CC... " >&6; }
   5223   case $host in
   5224   *-*-mingw* | *-*-windows*)
   5225     # gcc leaves a trailing carriage return, which upsets mingw
   5226     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5227   *)
   5228     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5229   esac
   5230   case $ac_prog in
   5231     # Accept absolute paths.
   5232     [\\/]* | ?:[\\/]*)
   5233       re_direlt='/[^/][^/]*/\.\./'
   5234       # Canonicalize the pathname of ld
   5235       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5236       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5237 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5238       done
   5239       test -z "$LD" && LD=$ac_prog
   5240       ;;
   5241   "")
   5242     # If it fails, then pretend we aren't using GCC.
   5243     ac_prog=ld
   5244     ;;
   5245   *)
   5246     # If it is relative, then search for the first ld in PATH.
   5247     with_gnu_ld=unknown
   5248     ;;
   5249   esac
   5250 elif test yes = "$with_gnu_ld"; then
   5251   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5252 printf %s "checking for GNU ld... " >&6; }
   5253 else
   5254   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5255 printf %s "checking for non-GNU ld... " >&6; }
   5256 fi
   5257 if test ${lt_cv_path_LD+y}
   5258 then :
   5259   printf %s "(cached) " >&6
   5260 else case e in #(
   5261   e) if test -z "$LD"; then
   5262   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5263   for ac_dir in $PATH; do
   5264     IFS=$lt_save_ifs
   5265     test -z "$ac_dir" && ac_dir=.
   5266     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5267       lt_cv_path_LD=$ac_dir/$ac_prog
   5268       # Check to see if the program is GNU ld.  I'd rather use --version,
   5269       # but apparently some variants of GNU ld only accept -v.
   5270       # Break only if it was the GNU/non-GNU ld that we prefer.
   5271       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5272       *GNU* | *'with BFD'*)
   5273 	test no != "$with_gnu_ld" && break
   5274 	;;
   5275       *)
   5276 	test yes != "$with_gnu_ld" && break
   5277 	;;
   5278       esac
   5279     fi
   5280   done
   5281   IFS=$lt_save_ifs
   5282 else
   5283   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5284 fi ;;
   5285 esac
   5286 fi
   5287 
   5288 LD=$lt_cv_path_LD
   5289 if test -n "$LD"; then
   5290   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5291 printf "%s\n" "$LD" >&6; }
   5292 else
   5293   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5294 printf "%s\n" "no" >&6; }
   5295 fi
   5296 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5298 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5299 if test ${lt_cv_prog_gnu_ld+y}
   5300 then :
   5301   printf %s "(cached) " >&6
   5302 else case e in #(
   5303   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5304 case `$LD -v 2>&1 </dev/null` in
   5305 *GNU* | *'with BFD'*)
   5306   lt_cv_prog_gnu_ld=yes
   5307   ;;
   5308 *)
   5309   lt_cv_prog_gnu_ld=no
   5310   ;;
   5311 esac ;;
   5312 esac
   5313 fi
   5314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5315 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5316 with_gnu_ld=$lt_cv_prog_gnu_ld
   5317 
   5318 
   5319 
   5320 
   5321 
   5322 
   5323 
   5324 
   5325 
   5326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5327 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5328 if test ${lt_cv_path_NM+y}
   5329 then :
   5330   printf %s "(cached) " >&6
   5331 else case e in #(
   5332   e) if test -n "$NM"; then
   5333   # Let the user override the test.
   5334   lt_cv_path_NM=$NM
   5335 else
   5336   lt_nm_to_check=${ac_tool_prefix}nm
   5337   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5338     lt_nm_to_check="$lt_nm_to_check nm"
   5339   fi
   5340   for lt_tmp_nm in $lt_nm_to_check; do
   5341     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5342     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5343       IFS=$lt_save_ifs
   5344       test -z "$ac_dir" && ac_dir=.
   5345       tmp_nm=$ac_dir/$lt_tmp_nm
   5346       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5347 	# Check to see if the nm accepts a BSD-compat flag.
   5348 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5349 	#   nm: unknown option "B" ignored
   5350 	# Tru64's nm complains that /dev/null is an invalid object file
   5351 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5352 	case $build_os in
   5353 	mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
   5354 	*) lt_bad_file=/dev/null ;;
   5355 	esac
   5356 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5357 	*$lt_bad_file* | *'Invalid file or object type'*)
   5358 	  lt_cv_path_NM="$tmp_nm -B"
   5359 	  break 2
   5360 	  ;;
   5361 	*)
   5362 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5363 	  */dev/null*)
   5364 	    lt_cv_path_NM="$tmp_nm -p"
   5365 	    break 2
   5366 	    ;;
   5367 	  *)
   5368 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5369 	    continue # so that we can try to find one that supports BSD flags
   5370 	    ;;
   5371 	  esac
   5372 	  ;;
   5373 	esac
   5374       fi
   5375     done
   5376     IFS=$lt_save_ifs
   5377   done
   5378   : ${lt_cv_path_NM=no}
   5379 fi ;;
   5380 esac
   5381 fi
   5382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5383 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5384 if test no != "$lt_cv_path_NM"; then
   5385   NM=$lt_cv_path_NM
   5386 else
   5387   # Didn't find any BSD compatible name lister, look for dumpbin.
   5388   if test -n "$DUMPBIN"; then :
   5389     # Let the user override the test.
   5390   else
   5391     if test -n "$ac_tool_prefix"; then
   5392   for ac_prog in dumpbin "link -dump"
   5393   do
   5394     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5395 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5397 printf %s "checking for $ac_word... " >&6; }
   5398 if test ${ac_cv_prog_DUMPBIN+y}
   5399 then :
   5400   printf %s "(cached) " >&6
   5401 else case e in #(
   5402   e) if test -n "$DUMPBIN"; then
   5403   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5404 else
   5405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5406 for as_dir in $PATH
   5407 do
   5408   IFS=$as_save_IFS
   5409   case $as_dir in #(((
   5410     '') as_dir=./ ;;
   5411     */) ;;
   5412     *) as_dir=$as_dir/ ;;
   5413   esac
   5414     for ac_exec_ext in '' $ac_executable_extensions; do
   5415   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5416     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5417     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5418     break 2
   5419   fi
   5420 done
   5421   done
   5422 IFS=$as_save_IFS
   5423 
   5424 fi ;;
   5425 esac
   5426 fi
   5427 DUMPBIN=$ac_cv_prog_DUMPBIN
   5428 if test -n "$DUMPBIN"; then
   5429   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5430 printf "%s\n" "$DUMPBIN" >&6; }
   5431 else
   5432   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5433 printf "%s\n" "no" >&6; }
   5434 fi
   5435 
   5436 
   5437     test -n "$DUMPBIN" && break
   5438   done
   5439 fi
   5440 if test -z "$DUMPBIN"; then
   5441   ac_ct_DUMPBIN=$DUMPBIN
   5442   for ac_prog in dumpbin "link -dump"
   5443 do
   5444   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5445 set dummy $ac_prog; ac_word=$2
   5446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5447 printf %s "checking for $ac_word... " >&6; }
   5448 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5449 then :
   5450   printf %s "(cached) " >&6
   5451 else case e in #(
   5452   e) if test -n "$ac_ct_DUMPBIN"; then
   5453   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5454 else
   5455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5456 for as_dir in $PATH
   5457 do
   5458   IFS=$as_save_IFS
   5459   case $as_dir in #(((
   5460     '') as_dir=./ ;;
   5461     */) ;;
   5462     *) as_dir=$as_dir/ ;;
   5463   esac
   5464     for ac_exec_ext in '' $ac_executable_extensions; do
   5465   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5466     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5467     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5468     break 2
   5469   fi
   5470 done
   5471   done
   5472 IFS=$as_save_IFS
   5473 
   5474 fi ;;
   5475 esac
   5476 fi
   5477 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5478 if test -n "$ac_ct_DUMPBIN"; then
   5479   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5480 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5481 else
   5482   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5483 printf "%s\n" "no" >&6; }
   5484 fi
   5485 
   5486 
   5487   test -n "$ac_ct_DUMPBIN" && break
   5488 done
   5489 
   5490   if test "x$ac_ct_DUMPBIN" = x; then
   5491     DUMPBIN=":"
   5492   else
   5493     case $cross_compiling:$ac_tool_warned in
   5494 yes:)
   5495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5496 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5497 ac_tool_warned=yes ;;
   5498 esac
   5499     DUMPBIN=$ac_ct_DUMPBIN
   5500   fi
   5501 fi
   5502 
   5503     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5504     *COFF*)
   5505       DUMPBIN="$DUMPBIN -symbols -headers"
   5506       ;;
   5507     *)
   5508       DUMPBIN=:
   5509       ;;
   5510     esac
   5511   fi
   5512 
   5513   if test : != "$DUMPBIN"; then
   5514     NM=$DUMPBIN
   5515   fi
   5516 fi
   5517 test -z "$NM" && NM=nm
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5525 printf %s "checking the name lister ($NM) interface... " >&6; }
   5526 if test ${lt_cv_nm_interface+y}
   5527 then :
   5528   printf %s "(cached) " >&6
   5529 else case e in #(
   5530   e) lt_cv_nm_interface="BSD nm"
   5531   echo "int some_variable = 0;" > conftest.$ac_ext
   5532   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5533   (eval "$ac_compile" 2>conftest.err)
   5534   cat conftest.err >&5
   5535   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5536   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5537   cat conftest.err >&5
   5538   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5539   cat conftest.out >&5
   5540   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5541     lt_cv_nm_interface="MS dumpbin"
   5542   fi
   5543   rm -f conftest* ;;
   5544 esac
   5545 fi
   5546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5547 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5548 
   5549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5550 printf %s "checking whether ln -s works... " >&6; }
   5551 LN_S=$as_ln_s
   5552 if test "$LN_S" = "ln -s"; then
   5553   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5554 printf "%s\n" "yes" >&6; }
   5555 else
   5556   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5557 printf "%s\n" "no, using $LN_S" >&6; }
   5558 fi
   5559 
   5560 # find the maximum length of command line arguments
   5561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5562 printf %s "checking the maximum length of command line arguments... " >&6; }
   5563 if test ${lt_cv_sys_max_cmd_len+y}
   5564 then :
   5565   printf %s "(cached) " >&6
   5566 else case e in #(
   5567   e)   i=0
   5568   teststring=ABCD
   5569 
   5570   case $build_os in
   5571   msdosdjgpp*)
   5572     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5573     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5574     # during glob expansion).  Even if it were fixed, the result of this
   5575     # check would be larger than it should be.
   5576     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5577     ;;
   5578 
   5579   gnu* | ironclad*)
   5580     # Under GNU Hurd and Ironclad, this test is not required because there
   5581     # is no limit to the length of command line arguments.
   5582     # Libtool will interpret -1 as no limit whatsoever
   5583     lt_cv_sys_max_cmd_len=-1;
   5584     ;;
   5585 
   5586   cygwin* | mingw* | windows* | cegcc*)
   5587     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5588     # about 5 minutes as the teststring grows exponentially.
   5589     # Worse, since 9x/ME are not pre-emptively multitasking,
   5590     # you end up with a "frozen" computer, even though with patience
   5591     # the test eventually succeeds (with a max line length of 256k).
   5592     # Instead, let's just punt: use the minimum linelength reported by
   5593     # all of the supported platforms: 8192 (on NT/2K/XP).
   5594     lt_cv_sys_max_cmd_len=8192;
   5595     ;;
   5596 
   5597   mint*)
   5598     # On MiNT this can take a long time and run out of memory.
   5599     lt_cv_sys_max_cmd_len=8192;
   5600     ;;
   5601 
   5602   amigaos*)
   5603     # On AmigaOS with pdksh, this test takes hours, literally.
   5604     # So we just punt and use a minimum line length of 8192.
   5605     lt_cv_sys_max_cmd_len=8192;
   5606     ;;
   5607 
   5608   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5609     # This has been around since 386BSD, at least.  Likely further.
   5610     if test -x /sbin/sysctl; then
   5611       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5612     elif test -x /usr/sbin/sysctl; then
   5613       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5614     else
   5615       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5616     fi
   5617     # And add a safety zone
   5618     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5619     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5620     ;;
   5621 
   5622   interix*)
   5623     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5624     lt_cv_sys_max_cmd_len=196608
   5625     ;;
   5626 
   5627   os2*)
   5628     # The test takes a long time on OS/2.
   5629     lt_cv_sys_max_cmd_len=8192
   5630     ;;
   5631 
   5632   osf*)
   5633     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5634     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5635     # nice to cause kernel panics so lets avoid the loop below.
   5636     # First set a reasonable default.
   5637     lt_cv_sys_max_cmd_len=16384
   5638     #
   5639     if test -x /sbin/sysconfig; then
   5640       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5641         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5642       esac
   5643     fi
   5644     ;;
   5645   sco3.2v5*)
   5646     lt_cv_sys_max_cmd_len=102400
   5647     ;;
   5648   sysv5* | sco5v6* | sysv4.2uw2*)
   5649     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5650     if test -n "$kargmax"; then
   5651       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5652     else
   5653       lt_cv_sys_max_cmd_len=32768
   5654     fi
   5655     ;;
   5656   *)
   5657     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5658     if test -n "$lt_cv_sys_max_cmd_len" && \
   5659        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5660       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5661       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5662     else
   5663       # Make teststring a little bigger before we do anything with it.
   5664       # a 1K string should be a reasonable start.
   5665       for i in 1 2 3 4 5 6 7 8; do
   5666         teststring=$teststring$teststring
   5667       done
   5668       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5669       # If test is not a shell built-in, we'll probably end up computing a
   5670       # maximum length that is only half of the actual maximum length, but
   5671       # we can't tell.
   5672       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5673 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5674 	      test 17 != "$i" # 1/2 MB should be enough
   5675       do
   5676         i=`expr $i + 1`
   5677         teststring=$teststring$teststring
   5678       done
   5679       # Only check the string length outside the loop.
   5680       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5681       teststring=
   5682       # Add a significant safety factor because C++ compilers can tack on
   5683       # massive amounts of additional arguments before passing them to the
   5684       # linker.  It appears as though 1/2 is a usable value.
   5685       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5686     fi
   5687     ;;
   5688   esac
   5689  ;;
   5690 esac
   5691 fi
   5692 
   5693 if test -n "$lt_cv_sys_max_cmd_len"; then
   5694   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5695 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5696 else
   5697   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5698 printf "%s\n" "none" >&6; }
   5699 fi
   5700 max_cmd_len=$lt_cv_sys_max_cmd_len
   5701 
   5702 
   5703 
   5704 
   5705 
   5706 
   5707 : ${CP="cp -f"}
   5708 : ${MV="mv -f"}
   5709 : ${RM="rm -f"}
   5710 
   5711 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5712   lt_unset=unset
   5713 else
   5714   lt_unset=false
   5715 fi
   5716 
   5717 
   5718 
   5719 
   5720 
   5721 # test EBCDIC or ASCII
   5722 case `echo X|tr X '\101'` in
   5723  A) # ASCII based system
   5724     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5725   lt_SP2NL='tr \040 \012'
   5726   lt_NL2SP='tr \015\012 \040\040'
   5727   ;;
   5728  *) # EBCDIC based system
   5729   lt_SP2NL='tr \100 \n'
   5730   lt_NL2SP='tr \r\n \100\100'
   5731   ;;
   5732 esac
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5743 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5744 if test ${lt_cv_to_host_file_cmd+y}
   5745 then :
   5746   printf %s "(cached) " >&6
   5747 else case e in #(
   5748   e) case $host in
   5749   *-*-mingw* )
   5750     case $build in
   5751       *-*-mingw* | *-*-windows* ) # actually msys
   5752         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5753         ;;
   5754       *-*-cygwin* )
   5755         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5756         ;;
   5757       * ) # otherwise, assume *nix
   5758         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5759         ;;
   5760     esac
   5761     ;;
   5762   *-*-cygwin* )
   5763     case $build in
   5764       *-*-mingw* | *-*-windows* ) # actually msys
   5765         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5766         ;;
   5767       *-*-cygwin* )
   5768         lt_cv_to_host_file_cmd=func_convert_file_noop
   5769         ;;
   5770       * ) # otherwise, assume *nix
   5771         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5772         ;;
   5773     esac
   5774     ;;
   5775   * ) # unhandled hosts (and "normal" native builds)
   5776     lt_cv_to_host_file_cmd=func_convert_file_noop
   5777     ;;
   5778 esac
   5779  ;;
   5780 esac
   5781 fi
   5782 
   5783 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5785 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5792 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5793 if test ${lt_cv_to_tool_file_cmd+y}
   5794 then :
   5795   printf %s "(cached) " >&6
   5796 else case e in #(
   5797   e) #assume ordinary cross tools, or native build.
   5798 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5799 case $host in
   5800   *-*-mingw* | *-*-windows* )
   5801     case $build in
   5802       *-*-mingw* | *-*-windows* ) # actually msys
   5803         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5804         ;;
   5805     esac
   5806     ;;
   5807 esac
   5808  ;;
   5809 esac
   5810 fi
   5811 
   5812 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5814 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5821 printf %s "checking for $LD option to reload object files... " >&6; }
   5822 if test ${lt_cv_ld_reload_flag+y}
   5823 then :
   5824   printf %s "(cached) " >&6
   5825 else case e in #(
   5826   e) lt_cv_ld_reload_flag='-r' ;;
   5827 esac
   5828 fi
   5829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5830 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   5831 reload_flag=$lt_cv_ld_reload_flag
   5832 case $reload_flag in
   5833 "" | " "*) ;;
   5834 *) reload_flag=" $reload_flag" ;;
   5835 esac
   5836 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5837 case $host_os in
   5838   cygwin* | mingw* | windows* | pw32* | cegcc*)
   5839     if test yes != "$GCC"; then
   5840       reload_cmds=false
   5841     fi
   5842     ;;
   5843   darwin*)
   5844     if test yes = "$GCC"; then
   5845       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5846     else
   5847       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5848     fi
   5849     ;;
   5850 esac
   5851 
   5852 
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 # Extract the first word of "file", so it can be a program name with args.
   5861 set dummy file; ac_word=$2
   5862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5863 printf %s "checking for $ac_word... " >&6; }
   5864 if test ${ac_cv_prog_FILECMD+y}
   5865 then :
   5866   printf %s "(cached) " >&6
   5867 else case e in #(
   5868   e) if test -n "$FILECMD"; then
   5869   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   5870 else
   5871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5872 for as_dir in $PATH
   5873 do
   5874   IFS=$as_save_IFS
   5875   case $as_dir in #(((
   5876     '') as_dir=./ ;;
   5877     */) ;;
   5878     *) as_dir=$as_dir/ ;;
   5879   esac
   5880     for ac_exec_ext in '' $ac_executable_extensions; do
   5881   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5882     ac_cv_prog_FILECMD="file"
   5883     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5884     break 2
   5885   fi
   5886 done
   5887   done
   5888 IFS=$as_save_IFS
   5889 
   5890   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
   5891 fi ;;
   5892 esac
   5893 fi
   5894 FILECMD=$ac_cv_prog_FILECMD
   5895 if test -n "$FILECMD"; then
   5896   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   5897 printf "%s\n" "$FILECMD" >&6; }
   5898 else
   5899   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5900 printf "%s\n" "no" >&6; }
   5901 fi
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 if test -n "$ac_tool_prefix"; then
   5911   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5912 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5914 printf %s "checking for $ac_word... " >&6; }
   5915 if test ${ac_cv_prog_OBJDUMP+y}
   5916 then :
   5917   printf %s "(cached) " >&6
   5918 else case e in #(
   5919   e) if test -n "$OBJDUMP"; then
   5920   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5921 else
   5922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5923 for as_dir in $PATH
   5924 do
   5925   IFS=$as_save_IFS
   5926   case $as_dir in #(((
   5927     '') as_dir=./ ;;
   5928     */) ;;
   5929     *) as_dir=$as_dir/ ;;
   5930   esac
   5931     for ac_exec_ext in '' $ac_executable_extensions; do
   5932   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5933     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5934     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5935     break 2
   5936   fi
   5937 done
   5938   done
   5939 IFS=$as_save_IFS
   5940 
   5941 fi ;;
   5942 esac
   5943 fi
   5944 OBJDUMP=$ac_cv_prog_OBJDUMP
   5945 if test -n "$OBJDUMP"; then
   5946   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5947 printf "%s\n" "$OBJDUMP" >&6; }
   5948 else
   5949   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5950 printf "%s\n" "no" >&6; }
   5951 fi
   5952 
   5953 
   5954 fi
   5955 if test -z "$ac_cv_prog_OBJDUMP"; then
   5956   ac_ct_OBJDUMP=$OBJDUMP
   5957   # Extract the first word of "objdump", so it can be a program name with args.
   5958 set dummy objdump; ac_word=$2
   5959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5960 printf %s "checking for $ac_word... " >&6; }
   5961 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   5962 then :
   5963   printf %s "(cached) " >&6
   5964 else case e in #(
   5965   e) if test -n "$ac_ct_OBJDUMP"; then
   5966   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5967 else
   5968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5969 for as_dir in $PATH
   5970 do
   5971   IFS=$as_save_IFS
   5972   case $as_dir in #(((
   5973     '') as_dir=./ ;;
   5974     */) ;;
   5975     *) as_dir=$as_dir/ ;;
   5976   esac
   5977     for ac_exec_ext in '' $ac_executable_extensions; do
   5978   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5979     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5980     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5981     break 2
   5982   fi
   5983 done
   5984   done
   5985 IFS=$as_save_IFS
   5986 
   5987 fi ;;
   5988 esac
   5989 fi
   5990 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5991 if test -n "$ac_ct_OBJDUMP"; then
   5992   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5993 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   5994 else
   5995   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5996 printf "%s\n" "no" >&6; }
   5997 fi
   5998 
   5999   if test "x$ac_ct_OBJDUMP" = x; then
   6000     OBJDUMP="false"
   6001   else
   6002     case $cross_compiling:$ac_tool_warned in
   6003 yes:)
   6004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6005 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6006 ac_tool_warned=yes ;;
   6007 esac
   6008     OBJDUMP=$ac_ct_OBJDUMP
   6009   fi
   6010 else
   6011   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6012 fi
   6013 
   6014 test -z "$OBJDUMP" && OBJDUMP=objdump
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 
   6024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6025 printf %s "checking how to recognize dependent libraries... " >&6; }
   6026 if test ${lt_cv_deplibs_check_method+y}
   6027 then :
   6028   printf %s "(cached) " >&6
   6029 else case e in #(
   6030   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   6031 lt_cv_file_magic_test_file=
   6032 lt_cv_deplibs_check_method='unknown'
   6033 # Need to set the preceding variable on all platforms that support
   6034 # interlibrary dependencies.
   6035 # 'none' -- dependencies not supported.
   6036 # 'unknown' -- same as none, but documents that we really don't know.
   6037 # 'pass_all' -- all dependencies passed with no checks.
   6038 # 'file_magic [[regex]]' -- check by looking for files in library path
   6039 # that responds to the $file_magic_cmd with a given extended regex.
   6040 # If you have 'file' or equivalent on your system and you're not sure
   6041 # whether 'pass_all' will *always* work, you probably want this one.
   6042 
   6043 case $host_os in
   6044 aix[4-9]*)
   6045   lt_cv_deplibs_check_method=pass_all
   6046   ;;
   6047 
   6048 beos*)
   6049   lt_cv_deplibs_check_method=pass_all
   6050   ;;
   6051 
   6052 bsdi[45]*)
   6053   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6054   lt_cv_file_magic_cmd='$FILECMD -L'
   6055   lt_cv_file_magic_test_file=/shlib/libc.so
   6056   ;;
   6057 
   6058 cygwin*)
   6059   # func_win32_libid is a shell function defined in ltmain.sh
   6060   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6061   lt_cv_file_magic_cmd='func_win32_libid'
   6062   ;;
   6063 
   6064 mingw* | windows* | pw32*)
   6065   # Base MSYS/MinGW do not provide the 'file' command needed by
   6066   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6067   # unless we find 'file', for example because we are cross-compiling.
   6068   if ( file / ) >/dev/null 2>&1; then
   6069     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6070     lt_cv_file_magic_cmd='func_win32_libid'
   6071   else
   6072     # Keep this pattern in sync with the one in func_win32_libid.
   6073     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
   6074     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6075   fi
   6076   ;;
   6077 
   6078 cegcc*)
   6079   # use the weaker test based on 'objdump'. See mingw*.
   6080   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6081   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6082   ;;
   6083 
   6084 darwin* | rhapsody*)
   6085   lt_cv_deplibs_check_method=pass_all
   6086   ;;
   6087 
   6088 freebsd* | dragonfly* | midnightbsd*)
   6089   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6090     case $host_cpu in
   6091     i*86 )
   6092       # Not sure whether the presence of OpenBSD here was a mistake.
   6093       # Let's accept both of them until this is cleared up.
   6094       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6095       lt_cv_file_magic_cmd=$FILECMD
   6096       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6097       ;;
   6098     esac
   6099   else
   6100     lt_cv_deplibs_check_method=pass_all
   6101   fi
   6102   ;;
   6103 
   6104 haiku*)
   6105   lt_cv_deplibs_check_method=pass_all
   6106   ;;
   6107 
   6108 hpux10.20* | hpux11*)
   6109   lt_cv_file_magic_cmd=$FILECMD
   6110   case $host_cpu in
   6111   ia64*)
   6112     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6113     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6114     ;;
   6115   hppa*64*)
   6116     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]'
   6117     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6118     ;;
   6119   *)
   6120     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6121     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6122     ;;
   6123   esac
   6124   ;;
   6125 
   6126 interix[3-9]*)
   6127   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6128   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6129   ;;
   6130 
   6131 irix5* | irix6* | nonstopux*)
   6132   case $LD in
   6133   *-32|*"-32 ") libmagic=32-bit;;
   6134   *-n32|*"-n32 ") libmagic=N32;;
   6135   *-64|*"-64 ") libmagic=64-bit;;
   6136   *) libmagic=never-match;;
   6137   esac
   6138   lt_cv_deplibs_check_method=pass_all
   6139   ;;
   6140 
   6141 # This must be glibc/ELF.
   6142 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6143   lt_cv_deplibs_check_method=pass_all
   6144   ;;
   6145 
   6146 *-mlibc)
   6147   lt_cv_deplibs_check_method=pass_all
   6148   ;;
   6149 
   6150 netbsd* | netbsdelf*-gnu)
   6151   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6152     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6153   else
   6154     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6155   fi
   6156   ;;
   6157 
   6158 newos6*)
   6159   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6160   lt_cv_file_magic_cmd=$FILECMD
   6161   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6162   ;;
   6163 
   6164 *nto* | *qnx*)
   6165   lt_cv_deplibs_check_method=pass_all
   6166   ;;
   6167 
   6168 openbsd*)
   6169   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6170     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6171   else
   6172     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6173   fi
   6174   ;;
   6175 
   6176 osf3* | osf4* | osf5*)
   6177   lt_cv_deplibs_check_method=pass_all
   6178   ;;
   6179 
   6180 rdos*)
   6181   lt_cv_deplibs_check_method=pass_all
   6182   ;;
   6183 
   6184 serenity*)
   6185   lt_cv_deplibs_check_method=pass_all
   6186   ;;
   6187 
   6188 solaris*)
   6189   lt_cv_deplibs_check_method=pass_all
   6190   ;;
   6191 
   6192 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6193   lt_cv_deplibs_check_method=pass_all
   6194   ;;
   6195 
   6196 sysv4 | sysv4.3*)
   6197   case $host_vendor in
   6198   motorola)
   6199     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]'
   6200     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6201     ;;
   6202   ncr)
   6203     lt_cv_deplibs_check_method=pass_all
   6204     ;;
   6205   sequent)
   6206     lt_cv_file_magic_cmd='/bin/file'
   6207     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6208     ;;
   6209   sni)
   6210     lt_cv_file_magic_cmd='/bin/file'
   6211     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6212     lt_cv_file_magic_test_file=/lib/libc.so
   6213     ;;
   6214   siemens)
   6215     lt_cv_deplibs_check_method=pass_all
   6216     ;;
   6217   pc)
   6218     lt_cv_deplibs_check_method=pass_all
   6219     ;;
   6220   esac
   6221   ;;
   6222 
   6223 tpf*)
   6224   lt_cv_deplibs_check_method=pass_all
   6225   ;;
   6226 os2*)
   6227   lt_cv_deplibs_check_method=pass_all
   6228   ;;
   6229 esac
   6230  ;;
   6231 esac
   6232 fi
   6233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6234 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6235 
   6236 file_magic_glob=
   6237 want_nocaseglob=no
   6238 if test "$build" = "$host"; then
   6239   case $host_os in
   6240   mingw* | windows* | pw32*)
   6241     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6242       want_nocaseglob=yes
   6243     else
   6244       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6245     fi
   6246     ;;
   6247   esac
   6248 fi
   6249 
   6250 file_magic_cmd=$lt_cv_file_magic_cmd
   6251 deplibs_check_method=$lt_cv_deplibs_check_method
   6252 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6253 
   6254 
   6255 
   6256 
   6257 
   6258 
   6259 
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 if test -n "$ac_tool_prefix"; then
   6276   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6277 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6279 printf %s "checking for $ac_word... " >&6; }
   6280 if test ${ac_cv_prog_DLLTOOL+y}
   6281 then :
   6282   printf %s "(cached) " >&6
   6283 else case e in #(
   6284   e) if test -n "$DLLTOOL"; then
   6285   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6286 else
   6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6288 for as_dir in $PATH
   6289 do
   6290   IFS=$as_save_IFS
   6291   case $as_dir in #(((
   6292     '') as_dir=./ ;;
   6293     */) ;;
   6294     *) as_dir=$as_dir/ ;;
   6295   esac
   6296     for ac_exec_ext in '' $ac_executable_extensions; do
   6297   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6298     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6299     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6300     break 2
   6301   fi
   6302 done
   6303   done
   6304 IFS=$as_save_IFS
   6305 
   6306 fi ;;
   6307 esac
   6308 fi
   6309 DLLTOOL=$ac_cv_prog_DLLTOOL
   6310 if test -n "$DLLTOOL"; then
   6311   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6312 printf "%s\n" "$DLLTOOL" >&6; }
   6313 else
   6314   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6315 printf "%s\n" "no" >&6; }
   6316 fi
   6317 
   6318 
   6319 fi
   6320 if test -z "$ac_cv_prog_DLLTOOL"; then
   6321   ac_ct_DLLTOOL=$DLLTOOL
   6322   # Extract the first word of "dlltool", so it can be a program name with args.
   6323 set dummy dlltool; ac_word=$2
   6324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6325 printf %s "checking for $ac_word... " >&6; }
   6326 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6327 then :
   6328   printf %s "(cached) " >&6
   6329 else case e in #(
   6330   e) if test -n "$ac_ct_DLLTOOL"; then
   6331   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6332 else
   6333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6334 for as_dir in $PATH
   6335 do
   6336   IFS=$as_save_IFS
   6337   case $as_dir in #(((
   6338     '') as_dir=./ ;;
   6339     */) ;;
   6340     *) as_dir=$as_dir/ ;;
   6341   esac
   6342     for ac_exec_ext in '' $ac_executable_extensions; do
   6343   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6344     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6345     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6346     break 2
   6347   fi
   6348 done
   6349   done
   6350 IFS=$as_save_IFS
   6351 
   6352 fi ;;
   6353 esac
   6354 fi
   6355 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6356 if test -n "$ac_ct_DLLTOOL"; then
   6357   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6358 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6359 else
   6360   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6361 printf "%s\n" "no" >&6; }
   6362 fi
   6363 
   6364   if test "x$ac_ct_DLLTOOL" = x; then
   6365     DLLTOOL="false"
   6366   else
   6367     case $cross_compiling:$ac_tool_warned in
   6368 yes:)
   6369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6370 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6371 ac_tool_warned=yes ;;
   6372 esac
   6373     DLLTOOL=$ac_ct_DLLTOOL
   6374   fi
   6375 else
   6376   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6377 fi
   6378 
   6379 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6380 
   6381 
   6382 
   6383 
   6384 
   6385 
   6386 
   6387 
   6388 
   6389 
   6390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6391 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6392 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6393 then :
   6394   printf %s "(cached) " >&6
   6395 else case e in #(
   6396   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   6397 
   6398 case $host_os in
   6399 cygwin* | mingw* | windows* | pw32* | cegcc*)
   6400   # two different shell functions defined in ltmain.sh;
   6401   # decide which one to use based on capabilities of $DLLTOOL
   6402   case `$DLLTOOL --help 2>&1` in
   6403   *--identify-strict*)
   6404     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6405     ;;
   6406   *)
   6407     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6408     ;;
   6409   esac
   6410   ;;
   6411 *)
   6412   # fallback: assume linklib IS sharedlib
   6413   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6414   ;;
   6415 esac
   6416  ;;
   6417 esac
   6418 fi
   6419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6420 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6421 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6422 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6423 
   6424 
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 if test -n "$ac_tool_prefix"; then
   6432   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6433 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6435 printf %s "checking for $ac_word... " >&6; }
   6436 if test ${ac_cv_prog_RANLIB+y}
   6437 then :
   6438   printf %s "(cached) " >&6
   6439 else case e in #(
   6440   e) if test -n "$RANLIB"; then
   6441   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6442 else
   6443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6444 for as_dir in $PATH
   6445 do
   6446   IFS=$as_save_IFS
   6447   case $as_dir in #(((
   6448     '') as_dir=./ ;;
   6449     */) ;;
   6450     *) as_dir=$as_dir/ ;;
   6451   esac
   6452     for ac_exec_ext in '' $ac_executable_extensions; do
   6453   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6454     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6455     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6456     break 2
   6457   fi
   6458 done
   6459   done
   6460 IFS=$as_save_IFS
   6461 
   6462 fi ;;
   6463 esac
   6464 fi
   6465 RANLIB=$ac_cv_prog_RANLIB
   6466 if test -n "$RANLIB"; then
   6467   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6468 printf "%s\n" "$RANLIB" >&6; }
   6469 else
   6470   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6471 printf "%s\n" "no" >&6; }
   6472 fi
   6473 
   6474 
   6475 fi
   6476 if test -z "$ac_cv_prog_RANLIB"; then
   6477   ac_ct_RANLIB=$RANLIB
   6478   # Extract the first word of "ranlib", so it can be a program name with args.
   6479 set dummy ranlib; ac_word=$2
   6480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6481 printf %s "checking for $ac_word... " >&6; }
   6482 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6483 then :
   6484   printf %s "(cached) " >&6
   6485 else case e in #(
   6486   e) if test -n "$ac_ct_RANLIB"; then
   6487   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6488 else
   6489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6490 for as_dir in $PATH
   6491 do
   6492   IFS=$as_save_IFS
   6493   case $as_dir in #(((
   6494     '') as_dir=./ ;;
   6495     */) ;;
   6496     *) as_dir=$as_dir/ ;;
   6497   esac
   6498     for ac_exec_ext in '' $ac_executable_extensions; do
   6499   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6500     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6501     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6502     break 2
   6503   fi
   6504 done
   6505   done
   6506 IFS=$as_save_IFS
   6507 
   6508 fi ;;
   6509 esac
   6510 fi
   6511 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6512 if test -n "$ac_ct_RANLIB"; then
   6513   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6514 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6515 else
   6516   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6517 printf "%s\n" "no" >&6; }
   6518 fi
   6519 
   6520   if test "x$ac_ct_RANLIB" = x; then
   6521     RANLIB=":"
   6522   else
   6523     case $cross_compiling:$ac_tool_warned in
   6524 yes:)
   6525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6526 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6527 ac_tool_warned=yes ;;
   6528 esac
   6529     RANLIB=$ac_ct_RANLIB
   6530   fi
   6531 else
   6532   RANLIB="$ac_cv_prog_RANLIB"
   6533 fi
   6534 
   6535 if test -n "$ac_tool_prefix"; then
   6536   for ac_prog in ar
   6537   do
   6538     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6539 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6541 printf %s "checking for $ac_word... " >&6; }
   6542 if test ${ac_cv_prog_AR+y}
   6543 then :
   6544   printf %s "(cached) " >&6
   6545 else case e in #(
   6546   e) if test -n "$AR"; then
   6547   ac_cv_prog_AR="$AR" # Let the user override the test.
   6548 else
   6549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6550 for as_dir in $PATH
   6551 do
   6552   IFS=$as_save_IFS
   6553   case $as_dir in #(((
   6554     '') as_dir=./ ;;
   6555     */) ;;
   6556     *) as_dir=$as_dir/ ;;
   6557   esac
   6558     for ac_exec_ext in '' $ac_executable_extensions; do
   6559   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6560     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6561     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6562     break 2
   6563   fi
   6564 done
   6565   done
   6566 IFS=$as_save_IFS
   6567 
   6568 fi ;;
   6569 esac
   6570 fi
   6571 AR=$ac_cv_prog_AR
   6572 if test -n "$AR"; then
   6573   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6574 printf "%s\n" "$AR" >&6; }
   6575 else
   6576   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6577 printf "%s\n" "no" >&6; }
   6578 fi
   6579 
   6580 
   6581     test -n "$AR" && break
   6582   done
   6583 fi
   6584 if test -z "$AR"; then
   6585   ac_ct_AR=$AR
   6586   for ac_prog in ar
   6587 do
   6588   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6589 set dummy $ac_prog; ac_word=$2
   6590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6591 printf %s "checking for $ac_word... " >&6; }
   6592 if test ${ac_cv_prog_ac_ct_AR+y}
   6593 then :
   6594   printf %s "(cached) " >&6
   6595 else case e in #(
   6596   e) if test -n "$ac_ct_AR"; then
   6597   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6598 else
   6599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6600 for as_dir in $PATH
   6601 do
   6602   IFS=$as_save_IFS
   6603   case $as_dir in #(((
   6604     '') as_dir=./ ;;
   6605     */) ;;
   6606     *) as_dir=$as_dir/ ;;
   6607   esac
   6608     for ac_exec_ext in '' $ac_executable_extensions; do
   6609   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6610     ac_cv_prog_ac_ct_AR="$ac_prog"
   6611     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6612     break 2
   6613   fi
   6614 done
   6615   done
   6616 IFS=$as_save_IFS
   6617 
   6618 fi ;;
   6619 esac
   6620 fi
   6621 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6622 if test -n "$ac_ct_AR"; then
   6623   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6624 printf "%s\n" "$ac_ct_AR" >&6; }
   6625 else
   6626   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6627 printf "%s\n" "no" >&6; }
   6628 fi
   6629 
   6630 
   6631   test -n "$ac_ct_AR" && break
   6632 done
   6633 
   6634   if test "x$ac_ct_AR" = x; then
   6635     AR="false"
   6636   else
   6637     case $cross_compiling:$ac_tool_warned in
   6638 yes:)
   6639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6640 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6641 ac_tool_warned=yes ;;
   6642 esac
   6643     AR=$ac_ct_AR
   6644   fi
   6645 fi
   6646 
   6647 : ${AR=ar}
   6648 
   6649 
   6650 
   6651 
   6652 
   6653 
   6654 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6655 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6656 # higher priority because that's what people were doing historically (setting
   6657 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6658 # variable obsoleted/removed.
   6659 
   6660 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6661 lt_ar_flags=$AR_FLAGS
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6669 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6670 
   6671 
   6672 
   6673 
   6674 
   6675 
   6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6677 printf %s "checking for archiver @FILE support... " >&6; }
   6678 if test ${lt_cv_ar_at_file+y}
   6679 then :
   6680   printf %s "(cached) " >&6
   6681 else case e in #(
   6682   e) lt_cv_ar_at_file=no
   6683    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6684 /* end confdefs.h.  */
   6685 
   6686 int
   6687 main (void)
   6688 {
   6689 
   6690   ;
   6691   return 0;
   6692 }
   6693 _ACEOF
   6694 if ac_fn_c_try_compile "$LINENO"
   6695 then :
   6696   echo conftest.$ac_objext > conftest.lst
   6697       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6698       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6699   (eval $lt_ar_try) 2>&5
   6700   ac_status=$?
   6701   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6702   test $ac_status = 0; }
   6703       if test 0 -eq "$ac_status"; then
   6704 	# Ensure the archiver fails upon bogus file names.
   6705 	rm -f conftest.$ac_objext libconftest.a
   6706 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6707   (eval $lt_ar_try) 2>&5
   6708   ac_status=$?
   6709   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6710   test $ac_status = 0; }
   6711 	if test 0 -ne "$ac_status"; then
   6712           lt_cv_ar_at_file=@
   6713         fi
   6714       fi
   6715       rm -f conftest.* libconftest.a
   6716 
   6717 fi
   6718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6719    ;;
   6720 esac
   6721 fi
   6722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6723 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6724 
   6725 if test no = "$lt_cv_ar_at_file"; then
   6726   archiver_list_spec=
   6727 else
   6728   archiver_list_spec=$lt_cv_ar_at_file
   6729 fi
   6730 
   6731 
   6732 
   6733 
   6734 
   6735 
   6736 
   6737 if test -n "$ac_tool_prefix"; then
   6738   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6739 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6741 printf %s "checking for $ac_word... " >&6; }
   6742 if test ${ac_cv_prog_STRIP+y}
   6743 then :
   6744   printf %s "(cached) " >&6
   6745 else case e in #(
   6746   e) if test -n "$STRIP"; then
   6747   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6748 else
   6749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6750 for as_dir in $PATH
   6751 do
   6752   IFS=$as_save_IFS
   6753   case $as_dir in #(((
   6754     '') as_dir=./ ;;
   6755     */) ;;
   6756     *) as_dir=$as_dir/ ;;
   6757   esac
   6758     for ac_exec_ext in '' $ac_executable_extensions; do
   6759   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6760     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6761     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6762     break 2
   6763   fi
   6764 done
   6765   done
   6766 IFS=$as_save_IFS
   6767 
   6768 fi ;;
   6769 esac
   6770 fi
   6771 STRIP=$ac_cv_prog_STRIP
   6772 if test -n "$STRIP"; then
   6773   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6774 printf "%s\n" "$STRIP" >&6; }
   6775 else
   6776   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6777 printf "%s\n" "no" >&6; }
   6778 fi
   6779 
   6780 
   6781 fi
   6782 if test -z "$ac_cv_prog_STRIP"; then
   6783   ac_ct_STRIP=$STRIP
   6784   # Extract the first word of "strip", so it can be a program name with args.
   6785 set dummy strip; ac_word=$2
   6786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6787 printf %s "checking for $ac_word... " >&6; }
   6788 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6789 then :
   6790   printf %s "(cached) " >&6
   6791 else case e in #(
   6792   e) if test -n "$ac_ct_STRIP"; then
   6793   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6794 else
   6795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6796 for as_dir in $PATH
   6797 do
   6798   IFS=$as_save_IFS
   6799   case $as_dir in #(((
   6800     '') as_dir=./ ;;
   6801     */) ;;
   6802     *) as_dir=$as_dir/ ;;
   6803   esac
   6804     for ac_exec_ext in '' $ac_executable_extensions; do
   6805   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6806     ac_cv_prog_ac_ct_STRIP="strip"
   6807     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6808     break 2
   6809   fi
   6810 done
   6811   done
   6812 IFS=$as_save_IFS
   6813 
   6814 fi ;;
   6815 esac
   6816 fi
   6817 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6818 if test -n "$ac_ct_STRIP"; then
   6819   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6820 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6821 else
   6822   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6823 printf "%s\n" "no" >&6; }
   6824 fi
   6825 
   6826   if test "x$ac_ct_STRIP" = x; then
   6827     STRIP=":"
   6828   else
   6829     case $cross_compiling:$ac_tool_warned in
   6830 yes:)
   6831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6832 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6833 ac_tool_warned=yes ;;
   6834 esac
   6835     STRIP=$ac_ct_STRIP
   6836   fi
   6837 else
   6838   STRIP="$ac_cv_prog_STRIP"
   6839 fi
   6840 
   6841 test -z "$STRIP" && STRIP=:
   6842 
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 test -z "$RANLIB" && RANLIB=:
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 # Determine commands to create old-style static archives.
   6857 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6858 old_postinstall_cmds='chmod 644 $oldlib'
   6859 old_postuninstall_cmds=
   6860 
   6861 if test -n "$RANLIB"; then
   6862   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6863   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6864 fi
   6865 
   6866 case $host_os in
   6867   darwin*)
   6868     lock_old_archive_extraction=yes ;;
   6869   *)
   6870     lock_old_archive_extraction=no ;;
   6871 esac
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 # If no C compiler was specified, use CC.
   6912 LTCC=${LTCC-"$CC"}
   6913 
   6914 # If no C compiler flags were specified, use CFLAGS.
   6915 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6916 
   6917 # Allow CC to be a program name with arguments.
   6918 compiler=$CC
   6919 
   6920 
   6921 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6923 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   6924 if test ${lt_cv_sys_global_symbol_pipe+y}
   6925 then :
   6926   printf %s "(cached) " >&6
   6927 else case e in #(
   6928   e)
   6929 # These are sane defaults that work on at least a few old systems.
   6930 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6931 
   6932 # Character class describing NM global symbol codes.
   6933 symcode='[BCDEGRST]'
   6934 
   6935 # Regexp to match symbols that can be accessed directly from C.
   6936 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6937 
   6938 # Define system-specific variables.
   6939 case $host_os in
   6940 aix*)
   6941   symcode='[BCDT]'
   6942   ;;
   6943 cygwin* | mingw* | windows* | pw32* | cegcc*)
   6944   symcode='[ABCDGISTW]'
   6945   ;;
   6946 hpux*)
   6947   if test ia64 = "$host_cpu"; then
   6948     symcode='[ABCDEGRST]'
   6949   fi
   6950   ;;
   6951 irix* | nonstopux*)
   6952   symcode='[BCDEGRST]'
   6953   ;;
   6954 osf*)
   6955   symcode='[BCDEGQRST]'
   6956   ;;
   6957 solaris*)
   6958   symcode='[BCDRT]'
   6959   ;;
   6960 sco3.2v5*)
   6961   symcode='[DT]'
   6962   ;;
   6963 sysv4.2uw2*)
   6964   symcode='[DT]'
   6965   ;;
   6966 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6967   symcode='[ABDT]'
   6968   ;;
   6969 sysv4)
   6970   symcode='[DFNSTU]'
   6971   ;;
   6972 esac
   6973 
   6974 # If we're using GNU nm, then use its standard symbol codes.
   6975 case `$NM -V 2>&1` in
   6976 *GNU* | *'with BFD'*)
   6977   symcode='[ABCDGIRSTW]' ;;
   6978 esac
   6979 
   6980 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6981   # Gets list of data symbols to import.
   6982   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   6983   # Adjust the below global symbol transforms to fixup imported variables.
   6984   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6985   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6986   lt_c_name_lib_hook="\
   6987   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6988   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6989 else
   6990   # Disable hooks by default.
   6991   lt_cv_sys_global_symbol_to_import=
   6992   lt_cdecl_hook=
   6993   lt_c_name_hook=
   6994   lt_c_name_lib_hook=
   6995 fi
   6996 
   6997 # Transform an extracted symbol line into a proper C declaration.
   6998 # Some systems (esp. on ia64) link data and code symbols differently,
   6999 # so use this general approach.
   7000 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7001 $lt_cdecl_hook\
   7002 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7003 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7004 
   7005 # Transform an extracted symbol line into symbol name and symbol address
   7006 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7007 $lt_c_name_hook\
   7008 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7009 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7010 
   7011 # Transform an extracted symbol line into symbol name with lib prefix and
   7012 # symbol address.
   7013 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7014 $lt_c_name_lib_hook\
   7015 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7016 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7017 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7018 
   7019 # Handle CRLF in mingw tool chain
   7020 opt_cr=
   7021 case $build_os in
   7022 mingw* | windows*)
   7023   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7024   ;;
   7025 esac
   7026 
   7027 # Try without a prefix underscore, then with it.
   7028 for ac_symprfx in "" "_"; do
   7029 
   7030   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7031   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7032 
   7033   # Write the raw and C identifiers.
   7034   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7035     # Fake it for dumpbin and say T for any non-static function,
   7036     # D for any global variable and I for any imported variable.
   7037     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7038     # which start with @ or ?.
   7039     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7040 "     {last_section=section; section=\$ 3};"\
   7041 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7042 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7043 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7044 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7045 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7046 "     \$ 0!~/External *\|/{next};"\
   7047 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7048 "     {if(hide[section]) next};"\
   7049 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7050 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7051 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7052 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7053 "     ' prfx=^$ac_symprfx"
   7054   else
   7055     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7056   fi
   7057   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7058 
   7059   # Check to see that the pipe works correctly.
   7060   pipe_works=no
   7061 
   7062   rm -f conftest*
   7063   cat > conftest.$ac_ext <<_LT_EOF
   7064 #ifdef __cplusplus
   7065 extern "C" {
   7066 #endif
   7067 char nm_test_var;
   7068 void nm_test_func(void);
   7069 void nm_test_func(void){}
   7070 #ifdef __cplusplus
   7071 }
   7072 #endif
   7073 int main(void){nm_test_var='a';nm_test_func();return(0);}
   7074 _LT_EOF
   7075 
   7076   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7077   (eval $ac_compile) 2>&5
   7078   ac_status=$?
   7079   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7080   test $ac_status = 0; }; then
   7081     # Now try to grab the symbols.
   7082     nlist=conftest.nm
   7083     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   7084     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   7085       # Try sorting and uniquifying the output.
   7086       if sort "$nlist" | uniq > "$nlist"T; then
   7087 	mv -f "$nlist"T "$nlist"
   7088       else
   7089 	rm -f "$nlist"T
   7090       fi
   7091 
   7092       # Make sure that we snagged all the symbols we need.
   7093       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7094 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7095 	  cat <<_LT_EOF > conftest.$ac_ext
   7096 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7097 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7098 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7099    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7100 # define LT_DLSYM_CONST
   7101 #elif defined __osf__
   7102 /* This system does not cope well with relocations in const data.  */
   7103 # define LT_DLSYM_CONST
   7104 #else
   7105 # define LT_DLSYM_CONST const
   7106 #endif
   7107 
   7108 #ifdef __cplusplus
   7109 extern "C" {
   7110 #endif
   7111 
   7112 _LT_EOF
   7113 	  # Now generate the symbol file.
   7114 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7115 
   7116 	  cat <<_LT_EOF >> conftest.$ac_ext
   7117 
   7118 /* The mapping between symbol names and symbols.  */
   7119 LT_DLSYM_CONST struct {
   7120   const char *name;
   7121   void       *address;
   7122 }
   7123 lt__PROGRAM__LTX_preloaded_symbols[] =
   7124 {
   7125   { "@PROGRAM@", (void *) 0 },
   7126 _LT_EOF
   7127 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7128 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7129   {0, (void *) 0}
   7130 };
   7131 
   7132 /* This works around a problem in FreeBSD linker */
   7133 #ifdef FREEBSD_WORKAROUND
   7134 static const void *lt_preloaded_setup() {
   7135   return lt__PROGRAM__LTX_preloaded_symbols;
   7136 }
   7137 #endif
   7138 
   7139 #ifdef __cplusplus
   7140 }
   7141 #endif
   7142 _LT_EOF
   7143 	  # Now try linking the two files.
   7144 	  mv conftest.$ac_objext conftstm.$ac_objext
   7145 	  lt_globsym_save_LIBS=$LIBS
   7146 	  lt_globsym_save_CFLAGS=$CFLAGS
   7147 	  LIBS=conftstm.$ac_objext
   7148 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7149 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7150   (eval $ac_link) 2>&5
   7151   ac_status=$?
   7152   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7153   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7154 	    pipe_works=yes
   7155 	  fi
   7156 	  LIBS=$lt_globsym_save_LIBS
   7157 	  CFLAGS=$lt_globsym_save_CFLAGS
   7158 	else
   7159 	  echo "cannot find nm_test_func in $nlist" >&5
   7160 	fi
   7161       else
   7162 	echo "cannot find nm_test_var in $nlist" >&5
   7163       fi
   7164     else
   7165       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7166     fi
   7167   else
   7168     echo "$progname: failed program was:" >&5
   7169     cat conftest.$ac_ext >&5
   7170   fi
   7171   rm -rf conftest* conftst*
   7172 
   7173   # Do not use the global_symbol_pipe unless it works.
   7174   if test yes = "$pipe_works"; then
   7175     break
   7176   else
   7177     lt_cv_sys_global_symbol_pipe=
   7178   fi
   7179 done
   7180  ;;
   7181 esac
   7182 fi
   7183 
   7184 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7185   lt_cv_sys_global_symbol_to_cdecl=
   7186 fi
   7187 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7188   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7189 printf "%s\n" "failed" >&6; }
   7190 else
   7191   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7192 printf "%s\n" "ok" >&6; }
   7193 fi
   7194 
   7195 # Response file support.
   7196 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7197   nm_file_list_spec='@'
   7198 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7199   nm_file_list_spec='@'
   7200 fi
   7201 
   7202 
   7203 
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 
   7211 
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 
   7225 
   7226 
   7227 
   7228 
   7229 
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7239 printf %s "checking for sysroot... " >&6; }
   7240 
   7241 # Check whether --with-sysroot was given.
   7242 if test ${with_sysroot+y}
   7243 then :
   7244   withval=$with_sysroot;
   7245 else case e in #(
   7246   e) with_sysroot=no ;;
   7247 esac
   7248 fi
   7249 
   7250 
   7251 lt_sysroot=
   7252 case $with_sysroot in #(
   7253  yes)
   7254    if test yes = "$GCC"; then
   7255      # Trim trailing / since we'll always append absolute paths and we want
   7256      # to avoid //, if only for less confusing output for the user.
   7257      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
   7258    fi
   7259    ;; #(
   7260  /*)
   7261    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7262    ;; #(
   7263  no|'')
   7264    ;; #(
   7265  *)
   7266    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7267 printf "%s\n" "$with_sysroot" >&6; }
   7268    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7269    ;;
   7270 esac
   7271 
   7272  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7273 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7274 
   7275 
   7276 
   7277 
   7278 
   7279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7280 printf %s "checking for a working dd... " >&6; }
   7281 if test ${ac_cv_path_lt_DD+y}
   7282 then :
   7283   printf %s "(cached) " >&6
   7284 else case e in #(
   7285   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7286 cat conftest.i conftest.i >conftest2.i
   7287 : ${lt_DD:=$DD}
   7288 if test -z "$lt_DD"; then
   7289   ac_path_lt_DD_found=false
   7290   # Loop through the user's path and test for each of PROGNAME-LIST
   7291   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7292 for as_dir in $PATH
   7293 do
   7294   IFS=$as_save_IFS
   7295   case $as_dir in #(((
   7296     '') as_dir=./ ;;
   7297     */) ;;
   7298     *) as_dir=$as_dir/ ;;
   7299   esac
   7300     for ac_prog in dd
   7301    do
   7302     for ac_exec_ext in '' $ac_executable_extensions; do
   7303       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7304       as_fn_executable_p "$ac_path_lt_DD" || continue
   7305 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7306   cmp -s conftest.i conftest.out \
   7307   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7308 fi
   7309       $ac_path_lt_DD_found && break 3
   7310     done
   7311   done
   7312   done
   7313 IFS=$as_save_IFS
   7314   if test -z "$ac_cv_path_lt_DD"; then
   7315     :
   7316   fi
   7317 else
   7318   ac_cv_path_lt_DD=$lt_DD
   7319 fi
   7320 
   7321 rm -f conftest.i conftest2.i conftest.out ;;
   7322 esac
   7323 fi
   7324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7325 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7326 
   7327 
   7328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7329 printf %s "checking how to truncate binary pipes... " >&6; }
   7330 if test ${lt_cv_truncate_bin+y}
   7331 then :
   7332   printf %s "(cached) " >&6
   7333 else case e in #(
   7334   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7335 cat conftest.i conftest.i >conftest2.i
   7336 lt_cv_truncate_bin=
   7337 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7338   cmp -s conftest.i conftest.out \
   7339   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7340 fi
   7341 rm -f conftest.i conftest2.i conftest.out
   7342 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   7343 esac
   7344 fi
   7345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7346 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7347 
   7348 
   7349 
   7350 
   7351 
   7352 
   7353 
   7354 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7355 func_cc_basename ()
   7356 {
   7357     for cc_temp in $*""; do
   7358       case $cc_temp in
   7359         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7360         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7361         \-*) ;;
   7362         *) break;;
   7363       esac
   7364     done
   7365     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7366 }
   7367 
   7368 # Check whether --enable-libtool-lock was given.
   7369 if test ${enable_libtool_lock+y}
   7370 then :
   7371   enableval=$enable_libtool_lock;
   7372 fi
   7373 
   7374 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7375 
   7376 # Some flags need to be propagated to the compiler or linker for good
   7377 # libtool support.
   7378 case $host in
   7379 ia64-*-hpux*)
   7380   # Find out what ABI is being produced by ac_compile, and set mode
   7381   # options accordingly.
   7382   echo 'int i;' > conftest.$ac_ext
   7383   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7384   (eval $ac_compile) 2>&5
   7385   ac_status=$?
   7386   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7387   test $ac_status = 0; }; then
   7388     case `$FILECMD conftest.$ac_objext` in
   7389       *ELF-32*)
   7390 	HPUX_IA64_MODE=32
   7391 	;;
   7392       *ELF-64*)
   7393 	HPUX_IA64_MODE=64
   7394 	;;
   7395     esac
   7396   fi
   7397   rm -rf conftest*
   7398   ;;
   7399 *-*-irix6*)
   7400   # Find out what ABI is being produced by ac_compile, and set linker
   7401   # options accordingly.
   7402   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7403   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7404   (eval $ac_compile) 2>&5
   7405   ac_status=$?
   7406   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7407   test $ac_status = 0; }; then
   7408     if test yes = "$lt_cv_prog_gnu_ld"; then
   7409       case `$FILECMD conftest.$ac_objext` in
   7410 	*32-bit*)
   7411 	  LD="${LD-ld} -melf32bsmip"
   7412 	  ;;
   7413 	*N32*)
   7414 	  LD="${LD-ld} -melf32bmipn32"
   7415 	  ;;
   7416 	*64-bit*)
   7417 	  LD="${LD-ld} -melf64bmip"
   7418 	;;
   7419       esac
   7420     else
   7421       case `$FILECMD conftest.$ac_objext` in
   7422 	*32-bit*)
   7423 	  LD="${LD-ld} -32"
   7424 	  ;;
   7425 	*N32*)
   7426 	  LD="${LD-ld} -n32"
   7427 	  ;;
   7428 	*64-bit*)
   7429 	  LD="${LD-ld} -64"
   7430 	  ;;
   7431       esac
   7432     fi
   7433   fi
   7434   rm -rf conftest*
   7435   ;;
   7436 
   7437 mips64*-*linux*)
   7438   # Find out what ABI is being produced by ac_compile, and set linker
   7439   # options accordingly.
   7440   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7441   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7442   (eval $ac_compile) 2>&5
   7443   ac_status=$?
   7444   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7445   test $ac_status = 0; }; then
   7446     emul=elf
   7447     case `$FILECMD conftest.$ac_objext` in
   7448       *32-bit*)
   7449 	emul="${emul}32"
   7450 	;;
   7451       *64-bit*)
   7452 	emul="${emul}64"
   7453 	;;
   7454     esac
   7455     case `$FILECMD conftest.$ac_objext` in
   7456       *MSB*)
   7457 	emul="${emul}btsmip"
   7458 	;;
   7459       *LSB*)
   7460 	emul="${emul}ltsmip"
   7461 	;;
   7462     esac
   7463     case `$FILECMD conftest.$ac_objext` in
   7464       *N32*)
   7465 	emul="${emul}n32"
   7466 	;;
   7467     esac
   7468     LD="${LD-ld} -m $emul"
   7469   fi
   7470   rm -rf conftest*
   7471   ;;
   7472 
   7473 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7474 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
   7475   # Find out what ABI is being produced by ac_compile, and set linker
   7476   # options accordingly.  Note that the listed cases only cover the
   7477   # situations where additional linker options are needed (such as when
   7478   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7479   # vice versa); the common cases where no linker options are needed do
   7480   # not appear in the list.
   7481   echo 'int i;' > conftest.$ac_ext
   7482   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7483   (eval $ac_compile) 2>&5
   7484   ac_status=$?
   7485   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7486   test $ac_status = 0; }; then
   7487     case `$FILECMD conftest.o` in
   7488       *32-bit*)
   7489 	case $host in
   7490 	  x86_64-*kfreebsd*-gnu)
   7491 	    LD="${LD-ld} -m elf_i386_fbsd"
   7492 	    ;;
   7493 	  x86_64-*linux*|x86_64-gnu*)
   7494 	    case `$FILECMD conftest.o` in
   7495 	      *x86-64*)
   7496 		LD="${LD-ld} -m elf32_x86_64"
   7497 		;;
   7498 	      *)
   7499 		LD="${LD-ld} -m elf_i386"
   7500 		;;
   7501 	    esac
   7502 	    ;;
   7503 	  powerpc64le-*linux*)
   7504 	    LD="${LD-ld} -m elf32lppclinux"
   7505 	    ;;
   7506 	  powerpc64-*linux*)
   7507 	    LD="${LD-ld} -m elf32ppclinux"
   7508 	    ;;
   7509 	  s390x-*linux*)
   7510 	    LD="${LD-ld} -m elf_s390"
   7511 	    ;;
   7512 	  sparc64-*linux*)
   7513 	    LD="${LD-ld} -m elf32_sparc"
   7514 	    ;;
   7515 	esac
   7516 	;;
   7517       *64-bit*)
   7518 	case $host in
   7519 	  x86_64-*kfreebsd*-gnu)
   7520 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7521 	    ;;
   7522 	  x86_64-*linux*|x86_64-gnu*)
   7523 	    LD="${LD-ld} -m elf_x86_64"
   7524 	    ;;
   7525 	  powerpcle-*linux*)
   7526 	    LD="${LD-ld} -m elf64lppc"
   7527 	    ;;
   7528 	  powerpc-*linux*)
   7529 	    LD="${LD-ld} -m elf64ppc"
   7530 	    ;;
   7531 	  s390*-*linux*|s390*-*tpf*)
   7532 	    LD="${LD-ld} -m elf64_s390"
   7533 	    ;;
   7534 	  sparc*-*linux*)
   7535 	    LD="${LD-ld} -m elf64_sparc"
   7536 	    ;;
   7537 	esac
   7538 	;;
   7539     esac
   7540   fi
   7541   rm -rf conftest*
   7542   ;;
   7543 
   7544 *-*-sco3.2v5*)
   7545   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7546   SAVE_CFLAGS=$CFLAGS
   7547   CFLAGS="$CFLAGS -belf"
   7548   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7549 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7550 if test ${lt_cv_cc_needs_belf+y}
   7551 then :
   7552   printf %s "(cached) " >&6
   7553 else case e in #(
   7554   e) ac_ext=c
   7555 ac_cpp='$CPP $CPPFLAGS'
   7556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7559 
   7560      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7561 /* end confdefs.h.  */
   7562 
   7563 int
   7564 main (void)
   7565 {
   7566 
   7567   ;
   7568   return 0;
   7569 }
   7570 _ACEOF
   7571 if ac_fn_c_try_link "$LINENO"
   7572 then :
   7573   lt_cv_cc_needs_belf=yes
   7574 else case e in #(
   7575   e) lt_cv_cc_needs_belf=no ;;
   7576 esac
   7577 fi
   7578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7579     conftest$ac_exeext conftest.$ac_ext
   7580      ac_ext=c
   7581 ac_cpp='$CPP $CPPFLAGS'
   7582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7585  ;;
   7586 esac
   7587 fi
   7588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7589 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7590   if test yes != "$lt_cv_cc_needs_belf"; then
   7591     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7592     CFLAGS=$SAVE_CFLAGS
   7593   fi
   7594   ;;
   7595 *-*solaris*)
   7596   # Find out what ABI is being produced by ac_compile, and set linker
   7597   # options accordingly.
   7598   echo 'int i;' > conftest.$ac_ext
   7599   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7600   (eval $ac_compile) 2>&5
   7601   ac_status=$?
   7602   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7603   test $ac_status = 0; }; then
   7604     case `$FILECMD conftest.o` in
   7605     *64-bit*)
   7606       case $lt_cv_prog_gnu_ld in
   7607       yes*)
   7608         case $host in
   7609         i?86-*-solaris*|x86_64-*-solaris*)
   7610           LD="${LD-ld} -m elf_x86_64"
   7611           ;;
   7612         sparc*-*-solaris*)
   7613           LD="${LD-ld} -m elf64_sparc"
   7614           ;;
   7615         esac
   7616         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7617         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7618           LD=${LD-ld}_sol2
   7619         fi
   7620         ;;
   7621       *)
   7622 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7623 	  LD="${LD-ld} -64"
   7624 	fi
   7625 	;;
   7626       esac
   7627       ;;
   7628     esac
   7629   fi
   7630   rm -rf conftest*
   7631   ;;
   7632 esac
   7633 
   7634 need_locks=$enable_libtool_lock
   7635 
   7636 if test -n "$ac_tool_prefix"; then
   7637   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7638 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7640 printf %s "checking for $ac_word... " >&6; }
   7641 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7642 then :
   7643   printf %s "(cached) " >&6
   7644 else case e in #(
   7645   e) if test -n "$MANIFEST_TOOL"; then
   7646   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7647 else
   7648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7649 for as_dir in $PATH
   7650 do
   7651   IFS=$as_save_IFS
   7652   case $as_dir in #(((
   7653     '') as_dir=./ ;;
   7654     */) ;;
   7655     *) as_dir=$as_dir/ ;;
   7656   esac
   7657     for ac_exec_ext in '' $ac_executable_extensions; do
   7658   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7659     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7660     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7661     break 2
   7662   fi
   7663 done
   7664   done
   7665 IFS=$as_save_IFS
   7666 
   7667 fi ;;
   7668 esac
   7669 fi
   7670 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7671 if test -n "$MANIFEST_TOOL"; then
   7672   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7673 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7674 else
   7675   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7676 printf "%s\n" "no" >&6; }
   7677 fi
   7678 
   7679 
   7680 fi
   7681 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7682   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7683   # Extract the first word of "mt", so it can be a program name with args.
   7684 set dummy mt; ac_word=$2
   7685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7686 printf %s "checking for $ac_word... " >&6; }
   7687 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7688 then :
   7689   printf %s "(cached) " >&6
   7690 else case e in #(
   7691   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   7692   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7693 else
   7694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7695 for as_dir in $PATH
   7696 do
   7697   IFS=$as_save_IFS
   7698   case $as_dir in #(((
   7699     '') as_dir=./ ;;
   7700     */) ;;
   7701     *) as_dir=$as_dir/ ;;
   7702   esac
   7703     for ac_exec_ext in '' $ac_executable_extensions; do
   7704   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7705     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7706     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7707     break 2
   7708   fi
   7709 done
   7710   done
   7711 IFS=$as_save_IFS
   7712 
   7713 fi ;;
   7714 esac
   7715 fi
   7716 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7717 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7718   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7719 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7720 else
   7721   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7722 printf "%s\n" "no" >&6; }
   7723 fi
   7724 
   7725   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7726     MANIFEST_TOOL=":"
   7727   else
   7728     case $cross_compiling:$ac_tool_warned in
   7729 yes:)
   7730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7731 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7732 ac_tool_warned=yes ;;
   7733 esac
   7734     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7735   fi
   7736 else
   7737   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7738 fi
   7739 
   7740 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7742 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7743 if test ${lt_cv_path_manifest_tool+y}
   7744 then :
   7745   printf %s "(cached) " >&6
   7746 else case e in #(
   7747   e) lt_cv_path_manifest_tool=no
   7748   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7749   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7750   cat conftest.err >&5
   7751   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7752     lt_cv_path_manifest_tool=yes
   7753   fi
   7754   rm -f conftest* ;;
   7755 esac
   7756 fi
   7757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
   7758 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
   7759 if test yes != "$lt_cv_path_manifest_tool"; then
   7760   MANIFEST_TOOL=:
   7761 fi
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768   case $host_os in
   7769     rhapsody* | darwin*)
   7770     if test -n "$ac_tool_prefix"; then
   7771   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7772 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7774 printf %s "checking for $ac_word... " >&6; }
   7775 if test ${ac_cv_prog_DSYMUTIL+y}
   7776 then :
   7777   printf %s "(cached) " >&6
   7778 else case e in #(
   7779   e) if test -n "$DSYMUTIL"; then
   7780   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7781 else
   7782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7783 for as_dir in $PATH
   7784 do
   7785   IFS=$as_save_IFS
   7786   case $as_dir in #(((
   7787     '') as_dir=./ ;;
   7788     */) ;;
   7789     *) as_dir=$as_dir/ ;;
   7790   esac
   7791     for ac_exec_ext in '' $ac_executable_extensions; do
   7792   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7793     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7794     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7795     break 2
   7796   fi
   7797 done
   7798   done
   7799 IFS=$as_save_IFS
   7800 
   7801 fi ;;
   7802 esac
   7803 fi
   7804 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7805 if test -n "$DSYMUTIL"; then
   7806   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7807 printf "%s\n" "$DSYMUTIL" >&6; }
   7808 else
   7809   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7810 printf "%s\n" "no" >&6; }
   7811 fi
   7812 
   7813 
   7814 fi
   7815 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7816   ac_ct_DSYMUTIL=$DSYMUTIL
   7817   # Extract the first word of "dsymutil", so it can be a program name with args.
   7818 set dummy dsymutil; ac_word=$2
   7819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7820 printf %s "checking for $ac_word... " >&6; }
   7821 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7822 then :
   7823   printf %s "(cached) " >&6
   7824 else case e in #(
   7825   e) if test -n "$ac_ct_DSYMUTIL"; then
   7826   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7827 else
   7828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7829 for as_dir in $PATH
   7830 do
   7831   IFS=$as_save_IFS
   7832   case $as_dir in #(((
   7833     '') as_dir=./ ;;
   7834     */) ;;
   7835     *) as_dir=$as_dir/ ;;
   7836   esac
   7837     for ac_exec_ext in '' $ac_executable_extensions; do
   7838   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7839     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7840     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7841     break 2
   7842   fi
   7843 done
   7844   done
   7845 IFS=$as_save_IFS
   7846 
   7847 fi ;;
   7848 esac
   7849 fi
   7850 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7851 if test -n "$ac_ct_DSYMUTIL"; then
   7852   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7853 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   7854 else
   7855   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7856 printf "%s\n" "no" >&6; }
   7857 fi
   7858 
   7859   if test "x$ac_ct_DSYMUTIL" = x; then
   7860     DSYMUTIL=":"
   7861   else
   7862     case $cross_compiling:$ac_tool_warned in
   7863 yes:)
   7864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7865 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7866 ac_tool_warned=yes ;;
   7867 esac
   7868     DSYMUTIL=$ac_ct_DSYMUTIL
   7869   fi
   7870 else
   7871   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7872 fi
   7873 
   7874     if test -n "$ac_tool_prefix"; then
   7875   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7876 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7878 printf %s "checking for $ac_word... " >&6; }
   7879 if test ${ac_cv_prog_NMEDIT+y}
   7880 then :
   7881   printf %s "(cached) " >&6
   7882 else case e in #(
   7883   e) if test -n "$NMEDIT"; then
   7884   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7885 else
   7886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7887 for as_dir in $PATH
   7888 do
   7889   IFS=$as_save_IFS
   7890   case $as_dir in #(((
   7891     '') as_dir=./ ;;
   7892     */) ;;
   7893     *) as_dir=$as_dir/ ;;
   7894   esac
   7895     for ac_exec_ext in '' $ac_executable_extensions; do
   7896   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7897     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7898     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7899     break 2
   7900   fi
   7901 done
   7902   done
   7903 IFS=$as_save_IFS
   7904 
   7905 fi ;;
   7906 esac
   7907 fi
   7908 NMEDIT=$ac_cv_prog_NMEDIT
   7909 if test -n "$NMEDIT"; then
   7910   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7911 printf "%s\n" "$NMEDIT" >&6; }
   7912 else
   7913   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7914 printf "%s\n" "no" >&6; }
   7915 fi
   7916 
   7917 
   7918 fi
   7919 if test -z "$ac_cv_prog_NMEDIT"; then
   7920   ac_ct_NMEDIT=$NMEDIT
   7921   # Extract the first word of "nmedit", so it can be a program name with args.
   7922 set dummy nmedit; ac_word=$2
   7923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7924 printf %s "checking for $ac_word... " >&6; }
   7925 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   7926 then :
   7927   printf %s "(cached) " >&6
   7928 else case e in #(
   7929   e) if test -n "$ac_ct_NMEDIT"; then
   7930   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7931 else
   7932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7933 for as_dir in $PATH
   7934 do
   7935   IFS=$as_save_IFS
   7936   case $as_dir in #(((
   7937     '') as_dir=./ ;;
   7938     */) ;;
   7939     *) as_dir=$as_dir/ ;;
   7940   esac
   7941     for ac_exec_ext in '' $ac_executable_extensions; do
   7942   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7943     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7944     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7945     break 2
   7946   fi
   7947 done
   7948   done
   7949 IFS=$as_save_IFS
   7950 
   7951 fi ;;
   7952 esac
   7953 fi
   7954 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7955 if test -n "$ac_ct_NMEDIT"; then
   7956   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7957 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   7958 else
   7959   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7960 printf "%s\n" "no" >&6; }
   7961 fi
   7962 
   7963   if test "x$ac_ct_NMEDIT" = x; then
   7964     NMEDIT=":"
   7965   else
   7966     case $cross_compiling:$ac_tool_warned in
   7967 yes:)
   7968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7969 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7970 ac_tool_warned=yes ;;
   7971 esac
   7972     NMEDIT=$ac_ct_NMEDIT
   7973   fi
   7974 else
   7975   NMEDIT="$ac_cv_prog_NMEDIT"
   7976 fi
   7977 
   7978     if test -n "$ac_tool_prefix"; then
   7979   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7980 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7982 printf %s "checking for $ac_word... " >&6; }
   7983 if test ${ac_cv_prog_LIPO+y}
   7984 then :
   7985   printf %s "(cached) " >&6
   7986 else case e in #(
   7987   e) if test -n "$LIPO"; then
   7988   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7989 else
   7990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7991 for as_dir in $PATH
   7992 do
   7993   IFS=$as_save_IFS
   7994   case $as_dir in #(((
   7995     '') as_dir=./ ;;
   7996     */) ;;
   7997     *) as_dir=$as_dir/ ;;
   7998   esac
   7999     for ac_exec_ext in '' $ac_executable_extensions; do
   8000   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8001     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8002     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8003     break 2
   8004   fi
   8005 done
   8006   done
   8007 IFS=$as_save_IFS
   8008 
   8009 fi ;;
   8010 esac
   8011 fi
   8012 LIPO=$ac_cv_prog_LIPO
   8013 if test -n "$LIPO"; then
   8014   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8015 printf "%s\n" "$LIPO" >&6; }
   8016 else
   8017   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8018 printf "%s\n" "no" >&6; }
   8019 fi
   8020 
   8021 
   8022 fi
   8023 if test -z "$ac_cv_prog_LIPO"; then
   8024   ac_ct_LIPO=$LIPO
   8025   # Extract the first word of "lipo", so it can be a program name with args.
   8026 set dummy lipo; ac_word=$2
   8027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8028 printf %s "checking for $ac_word... " >&6; }
   8029 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8030 then :
   8031   printf %s "(cached) " >&6
   8032 else case e in #(
   8033   e) if test -n "$ac_ct_LIPO"; then
   8034   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8035 else
   8036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8037 for as_dir in $PATH
   8038 do
   8039   IFS=$as_save_IFS
   8040   case $as_dir in #(((
   8041     '') as_dir=./ ;;
   8042     */) ;;
   8043     *) as_dir=$as_dir/ ;;
   8044   esac
   8045     for ac_exec_ext in '' $ac_executable_extensions; do
   8046   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8047     ac_cv_prog_ac_ct_LIPO="lipo"
   8048     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8049     break 2
   8050   fi
   8051 done
   8052   done
   8053 IFS=$as_save_IFS
   8054 
   8055 fi ;;
   8056 esac
   8057 fi
   8058 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8059 if test -n "$ac_ct_LIPO"; then
   8060   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8061 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8062 else
   8063   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8064 printf "%s\n" "no" >&6; }
   8065 fi
   8066 
   8067   if test "x$ac_ct_LIPO" = x; then
   8068     LIPO=":"
   8069   else
   8070     case $cross_compiling:$ac_tool_warned in
   8071 yes:)
   8072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8073 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8074 ac_tool_warned=yes ;;
   8075 esac
   8076     LIPO=$ac_ct_LIPO
   8077   fi
   8078 else
   8079   LIPO="$ac_cv_prog_LIPO"
   8080 fi
   8081 
   8082     if test -n "$ac_tool_prefix"; then
   8083   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8084 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8086 printf %s "checking for $ac_word... " >&6; }
   8087 if test ${ac_cv_prog_OTOOL+y}
   8088 then :
   8089   printf %s "(cached) " >&6
   8090 else case e in #(
   8091   e) if test -n "$OTOOL"; then
   8092   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8093 else
   8094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8095 for as_dir in $PATH
   8096 do
   8097   IFS=$as_save_IFS
   8098   case $as_dir in #(((
   8099     '') as_dir=./ ;;
   8100     */) ;;
   8101     *) as_dir=$as_dir/ ;;
   8102   esac
   8103     for ac_exec_ext in '' $ac_executable_extensions; do
   8104   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8105     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8106     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8107     break 2
   8108   fi
   8109 done
   8110   done
   8111 IFS=$as_save_IFS
   8112 
   8113 fi ;;
   8114 esac
   8115 fi
   8116 OTOOL=$ac_cv_prog_OTOOL
   8117 if test -n "$OTOOL"; then
   8118   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8119 printf "%s\n" "$OTOOL" >&6; }
   8120 else
   8121   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8122 printf "%s\n" "no" >&6; }
   8123 fi
   8124 
   8125 
   8126 fi
   8127 if test -z "$ac_cv_prog_OTOOL"; then
   8128   ac_ct_OTOOL=$OTOOL
   8129   # Extract the first word of "otool", so it can be a program name with args.
   8130 set dummy otool; ac_word=$2
   8131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8132 printf %s "checking for $ac_word... " >&6; }
   8133 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8134 then :
   8135   printf %s "(cached) " >&6
   8136 else case e in #(
   8137   e) if test -n "$ac_ct_OTOOL"; then
   8138   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8139 else
   8140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8141 for as_dir in $PATH
   8142 do
   8143   IFS=$as_save_IFS
   8144   case $as_dir in #(((
   8145     '') as_dir=./ ;;
   8146     */) ;;
   8147     *) as_dir=$as_dir/ ;;
   8148   esac
   8149     for ac_exec_ext in '' $ac_executable_extensions; do
   8150   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8151     ac_cv_prog_ac_ct_OTOOL="otool"
   8152     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8153     break 2
   8154   fi
   8155 done
   8156   done
   8157 IFS=$as_save_IFS
   8158 
   8159 fi ;;
   8160 esac
   8161 fi
   8162 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8163 if test -n "$ac_ct_OTOOL"; then
   8164   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8165 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8166 else
   8167   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8168 printf "%s\n" "no" >&6; }
   8169 fi
   8170 
   8171   if test "x$ac_ct_OTOOL" = x; then
   8172     OTOOL=":"
   8173   else
   8174     case $cross_compiling:$ac_tool_warned in
   8175 yes:)
   8176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8177 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8178 ac_tool_warned=yes ;;
   8179 esac
   8180     OTOOL=$ac_ct_OTOOL
   8181   fi
   8182 else
   8183   OTOOL="$ac_cv_prog_OTOOL"
   8184 fi
   8185 
   8186     if test -n "$ac_tool_prefix"; then
   8187   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8188 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8190 printf %s "checking for $ac_word... " >&6; }
   8191 if test ${ac_cv_prog_OTOOL64+y}
   8192 then :
   8193   printf %s "(cached) " >&6
   8194 else case e in #(
   8195   e) if test -n "$OTOOL64"; then
   8196   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8197 else
   8198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8199 for as_dir in $PATH
   8200 do
   8201   IFS=$as_save_IFS
   8202   case $as_dir in #(((
   8203     '') as_dir=./ ;;
   8204     */) ;;
   8205     *) as_dir=$as_dir/ ;;
   8206   esac
   8207     for ac_exec_ext in '' $ac_executable_extensions; do
   8208   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8209     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8210     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8211     break 2
   8212   fi
   8213 done
   8214   done
   8215 IFS=$as_save_IFS
   8216 
   8217 fi ;;
   8218 esac
   8219 fi
   8220 OTOOL64=$ac_cv_prog_OTOOL64
   8221 if test -n "$OTOOL64"; then
   8222   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8223 printf "%s\n" "$OTOOL64" >&6; }
   8224 else
   8225   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8226 printf "%s\n" "no" >&6; }
   8227 fi
   8228 
   8229 
   8230 fi
   8231 if test -z "$ac_cv_prog_OTOOL64"; then
   8232   ac_ct_OTOOL64=$OTOOL64
   8233   # Extract the first word of "otool64", so it can be a program name with args.
   8234 set dummy otool64; ac_word=$2
   8235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8236 printf %s "checking for $ac_word... " >&6; }
   8237 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8238 then :
   8239   printf %s "(cached) " >&6
   8240 else case e in #(
   8241   e) if test -n "$ac_ct_OTOOL64"; then
   8242   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8243 else
   8244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8245 for as_dir in $PATH
   8246 do
   8247   IFS=$as_save_IFS
   8248   case $as_dir in #(((
   8249     '') as_dir=./ ;;
   8250     */) ;;
   8251     *) as_dir=$as_dir/ ;;
   8252   esac
   8253     for ac_exec_ext in '' $ac_executable_extensions; do
   8254   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8255     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8256     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8257     break 2
   8258   fi
   8259 done
   8260   done
   8261 IFS=$as_save_IFS
   8262 
   8263 fi ;;
   8264 esac
   8265 fi
   8266 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8267 if test -n "$ac_ct_OTOOL64"; then
   8268   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8269 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8270 else
   8271   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8272 printf "%s\n" "no" >&6; }
   8273 fi
   8274 
   8275   if test "x$ac_ct_OTOOL64" = x; then
   8276     OTOOL64=":"
   8277   else
   8278     case $cross_compiling:$ac_tool_warned in
   8279 yes:)
   8280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8281 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8282 ac_tool_warned=yes ;;
   8283 esac
   8284     OTOOL64=$ac_ct_OTOOL64
   8285   fi
   8286 else
   8287   OTOOL64="$ac_cv_prog_OTOOL64"
   8288 fi
   8289 
   8290 
   8291 
   8292 
   8293 
   8294 
   8295 
   8296 
   8297 
   8298 
   8299 
   8300 
   8301 
   8302 
   8303 
   8304 
   8305 
   8306 
   8307 
   8308 
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 
   8315 
   8316     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8317 printf %s "checking for -single_module linker flag... " >&6; }
   8318 if test ${lt_cv_apple_cc_single_mod+y}
   8319 then :
   8320   printf %s "(cached) " >&6
   8321 else case e in #(
   8322   e) lt_cv_apple_cc_single_mod=no
   8323       if test -z "$LT_MULTI_MODULE"; then
   8324 	# By default we will add the -single_module flag. You can override
   8325 	# by either setting the environment variable LT_MULTI_MODULE
   8326 	# non-empty at configure time, or by adding -multi_module to the
   8327 	# link flags.
   8328 	rm -rf libconftest.dylib*
   8329 	echo "int foo(void){return 1;}" > conftest.c
   8330 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8331 -dynamiclib -Wl,-single_module conftest.c" >&5
   8332 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8333 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8334         _lt_result=$?
   8335 	# If there is a non-empty error log, and "single_module"
   8336 	# appears in it, assume the flag caused a linker warning
   8337         if test -s conftest.err && $GREP single_module conftest.err; then
   8338 	  cat conftest.err >&5
   8339 	# Otherwise, if the output was created with a 0 exit code from
   8340 	# the compiler, it worked.
   8341 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8342 	  lt_cv_apple_cc_single_mod=yes
   8343 	else
   8344 	  cat conftest.err >&5
   8345 	fi
   8346 	rm -rf libconftest.dylib*
   8347 	rm -f conftest.*
   8348       fi ;;
   8349 esac
   8350 fi
   8351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8352 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8353 
   8354     # Feature test to disable chained fixups since it is not
   8355     # compatible with '-undefined dynamic_lookup'
   8356     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
   8357 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
   8358 if test ${lt_cv_support_no_fixup_chains+y}
   8359 then :
   8360   printf %s "(cached) " >&6
   8361 else case e in #(
   8362   e)  save_LDFLAGS=$LDFLAGS
   8363         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
   8364         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8365 /* end confdefs.h.  */
   8366 
   8367 int
   8368 main (void)
   8369 {
   8370 
   8371   ;
   8372   return 0;
   8373 }
   8374 _ACEOF
   8375 if ac_fn_c_try_link "$LINENO"
   8376 then :
   8377   lt_cv_support_no_fixup_chains=yes
   8378 else case e in #(
   8379   e) lt_cv_support_no_fixup_chains=no
   8380          ;;
   8381 esac
   8382 fi
   8383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8384     conftest$ac_exeext conftest.$ac_ext
   8385         LDFLAGS=$save_LDFLAGS
   8386 
   8387      ;;
   8388 esac
   8389 fi
   8390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
   8391 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
   8392 
   8393     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8394 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8395 if test ${lt_cv_ld_exported_symbols_list+y}
   8396 then :
   8397   printf %s "(cached) " >&6
   8398 else case e in #(
   8399   e) lt_cv_ld_exported_symbols_list=no
   8400       save_LDFLAGS=$LDFLAGS
   8401       echo "_main" > conftest.sym
   8402       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8403       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8404 /* end confdefs.h.  */
   8405 
   8406 int
   8407 main (void)
   8408 {
   8409 
   8410   ;
   8411   return 0;
   8412 }
   8413 _ACEOF
   8414 if ac_fn_c_try_link "$LINENO"
   8415 then :
   8416   lt_cv_ld_exported_symbols_list=yes
   8417 else case e in #(
   8418   e) lt_cv_ld_exported_symbols_list=no ;;
   8419 esac
   8420 fi
   8421 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8422     conftest$ac_exeext conftest.$ac_ext
   8423 	LDFLAGS=$save_LDFLAGS
   8424      ;;
   8425 esac
   8426 fi
   8427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8428 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8429 
   8430     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8431 printf %s "checking for -force_load linker flag... " >&6; }
   8432 if test ${lt_cv_ld_force_load+y}
   8433 then :
   8434   printf %s "(cached) " >&6
   8435 else case e in #(
   8436   e) lt_cv_ld_force_load=no
   8437       cat > conftest.c << _LT_EOF
   8438 int forced_loaded() { return 2;}
   8439 _LT_EOF
   8440       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8441       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8442       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8443       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8444       echo "$RANLIB libconftest.a" >&5
   8445       $RANLIB libconftest.a 2>&5
   8446       cat > conftest.c << _LT_EOF
   8447 int main(void) { return 0;}
   8448 _LT_EOF
   8449       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8450       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8451       _lt_result=$?
   8452       if test -s conftest.err && $GREP force_load conftest.err; then
   8453 	cat conftest.err >&5
   8454       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8455 	lt_cv_ld_force_load=yes
   8456       else
   8457 	cat conftest.err >&5
   8458       fi
   8459         rm -f conftest.err libconftest.a conftest conftest.c
   8460         rm -rf conftest.dSYM
   8461      ;;
   8462 esac
   8463 fi
   8464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8465 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8466     case $host_os in
   8467     rhapsody* | darwin1.[012])
   8468       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8469     darwin1.*)
   8470       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8471     darwin*)
   8472       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8473         10.[012],*|,*powerpc*-darwin[5-8]*)
   8474           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8475         *)
   8476           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
   8477           if test yes = "$lt_cv_support_no_fixup_chains"; then
   8478             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
   8479           fi
   8480         ;;
   8481       esac
   8482     ;;
   8483   esac
   8484     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8485       _lt_dar_single_mod='$single_module'
   8486     fi
   8487     _lt_dar_needs_single_mod=no
   8488     case $host_os in
   8489     rhapsody* | darwin1.*)
   8490       _lt_dar_needs_single_mod=yes ;;
   8491     darwin*)
   8492       # When targeting Mac OS X 10.4 (darwin 8) or later,
   8493       # -single_module is the default and -multi_module is unsupported.
   8494       # The toolchain on macOS 10.14 (darwin 18) and later cannot
   8495       # target any OS version that needs -single_module.
   8496       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8497       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
   8498         _lt_dar_needs_single_mod=yes ;;
   8499       esac
   8500     ;;
   8501     esac
   8502     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8503       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8504     else
   8505       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8506     fi
   8507     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8508       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8509     else
   8510       _lt_dsymutil=
   8511     fi
   8512     ;;
   8513   esac
   8514 
   8515 # func_munge_path_list VARIABLE PATH
   8516 # -----------------------------------
   8517 # VARIABLE is name of variable containing _space_ separated list of
   8518 # directories to be munged by the contents of PATH, which is string
   8519 # having a format:
   8520 # "DIR[:DIR]:"
   8521 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8522 # ":DIR[:DIR]"
   8523 #       string "DIR[ DIR]" will be appended to VARIABLE
   8524 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8525 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8526 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8527 # "DIR[:DIR]"
   8528 #       VARIABLE will be replaced by "DIR[ DIR]"
   8529 func_munge_path_list ()
   8530 {
   8531     case x$2 in
   8532     x)
   8533         ;;
   8534     *:)
   8535         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8536         ;;
   8537     x:*)
   8538         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8539         ;;
   8540     *::*)
   8541         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8542         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8543         ;;
   8544     *)
   8545         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8546         ;;
   8547     esac
   8548 }
   8549 
   8550 ac_header= ac_cache=
   8551 for ac_item in $ac_header_c_list
   8552 do
   8553   if test $ac_cache; then
   8554     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8555     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8556       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   8557     fi
   8558     ac_header= ac_cache=
   8559   elif test $ac_header; then
   8560     ac_cache=$ac_item
   8561   else
   8562     ac_header=$ac_item
   8563   fi
   8564 done
   8565 
   8566 
   8567 
   8568 
   8569 
   8570 
   8571 
   8572 
   8573 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8574 then :
   8575 
   8576 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   8577 
   8578 fi
   8579 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8580 "
   8581 if test "x$ac_cv_header_dlfcn_h" = xyes
   8582 then :
   8583   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8584 
   8585 fi
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 # Set options
   8592 
   8593 
   8594 
   8595         enable_dlopen=no
   8596 
   8597 
   8598   enable_win32_dll=no
   8599 
   8600 
   8601             # Check whether --enable-shared was given.
   8602 if test ${enable_shared+y}
   8603 then :
   8604   enableval=$enable_shared; p=${PACKAGE-default}
   8605     case $enableval in
   8606     yes) enable_shared=yes ;;
   8607     no) enable_shared=no ;;
   8608     *)
   8609       enable_shared=no
   8610       # Look at the argument we got.  We use all the common list separators.
   8611       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8612       for pkg in $enableval; do
   8613 	IFS=$lt_save_ifs
   8614 	if test "X$pkg" = "X$p"; then
   8615 	  enable_shared=yes
   8616 	fi
   8617       done
   8618       IFS=$lt_save_ifs
   8619       ;;
   8620     esac
   8621 else case e in #(
   8622   e) enable_shared=yes ;;
   8623 esac
   8624 fi
   8625 
   8626 
   8627 
   8628 
   8629 
   8630 
   8631 
   8632 
   8633 
   8634   # Check whether --enable-static was given.
   8635 if test ${enable_static+y}
   8636 then :
   8637   enableval=$enable_static; p=${PACKAGE-default}
   8638     case $enableval in
   8639     yes) enable_static=yes ;;
   8640     no) enable_static=no ;;
   8641     *)
   8642      enable_static=no
   8643       # Look at the argument we got.  We use all the common list separators.
   8644       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8645       for pkg in $enableval; do
   8646 	IFS=$lt_save_ifs
   8647 	if test "X$pkg" = "X$p"; then
   8648 	  enable_static=yes
   8649 	fi
   8650       done
   8651       IFS=$lt_save_ifs
   8652       ;;
   8653     esac
   8654 else case e in #(
   8655   e) enable_static=yes ;;
   8656 esac
   8657 fi
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 
   8665 
   8666 
   8667   # Check whether --enable-pic was given.
   8668 if test ${enable_pic+y}
   8669 then :
   8670   enableval=$enable_pic; lt_p=${PACKAGE-default}
   8671      case $enableval in
   8672      yes|no) pic_mode=$enableval ;;
   8673      *)
   8674        pic_mode=default
   8675        # Look at the argument we got.  We use all the common list separators.
   8676        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8677        for lt_pkg in $enableval; do
   8678 	 IFS=$lt_save_ifs
   8679 	 if test "X$lt_pkg" = "X$lt_p"; then
   8680 	   pic_mode=yes
   8681 	 fi
   8682        done
   8683        IFS=$lt_save_ifs
   8684        ;;
   8685      esac
   8686 else case e in #(
   8687   e)           # Check whether --with-pic was given.
   8688 if test ${with_pic+y}
   8689 then :
   8690   withval=$with_pic; lt_p=${PACKAGE-default}
   8691 	 case $withval in
   8692 	 yes|no) pic_mode=$withval ;;
   8693 	 *)
   8694 	   pic_mode=default
   8695 	   # Look at the argument we got.  We use all the common list separators.
   8696 	   lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8697 	   for lt_pkg in $withval; do
   8698 	     IFS=$lt_save_ifs
   8699 	     if test "X$lt_pkg" = "X$lt_p"; then
   8700 	       pic_mode=yes
   8701 	     fi
   8702 	   done
   8703 	   IFS=$lt_save_ifs
   8704 	   ;;
   8705 	 esac
   8706 else case e in #(
   8707   e) pic_mode=default ;;
   8708 esac
   8709 fi
   8710 
   8711      ;;
   8712 esac
   8713 fi
   8714 
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722   # Check whether --enable-fast-install was given.
   8723 if test ${enable_fast_install+y}
   8724 then :
   8725   enableval=$enable_fast_install; p=${PACKAGE-default}
   8726     case $enableval in
   8727     yes) enable_fast_install=yes ;;
   8728     no) enable_fast_install=no ;;
   8729     *)
   8730       enable_fast_install=no
   8731       # Look at the argument we got.  We use all the common list separators.
   8732       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8733       for pkg in $enableval; do
   8734 	IFS=$lt_save_ifs
   8735 	if test "X$pkg" = "X$p"; then
   8736 	  enable_fast_install=yes
   8737 	fi
   8738       done
   8739       IFS=$lt_save_ifs
   8740       ;;
   8741     esac
   8742 else case e in #(
   8743   e) enable_fast_install=yes ;;
   8744 esac
   8745 fi
   8746 
   8747 
   8748 
   8749 
   8750 
   8751 
   8752 
   8753 
   8754   shared_archive_member_spec=
   8755 case $host,$enable_shared in
   8756 power*-*-aix[5-9]*,yes)
   8757   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8758 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8759   # Check whether --enable-aix-soname was given.
   8760 if test ${enable_aix_soname+y}
   8761 then :
   8762   enableval=$enable_aix_soname; case $enableval in
   8763      aix|svr4|both)
   8764        ;;
   8765      *)
   8766        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
   8767        ;;
   8768      esac
   8769      lt_cv_with_aix_soname=$enable_aix_soname
   8770 else case e in #(
   8771   e) # Check whether --with-aix-soname was given.
   8772 if test ${with_aix_soname+y}
   8773 then :
   8774   withval=$with_aix_soname; case $withval in
   8775          aix|svr4|both)
   8776            ;;
   8777          *)
   8778            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8779            ;;
   8780          esac
   8781          lt_cv_with_aix_soname=$with_aix_soname
   8782 else case e in #(
   8783   e) if test ${lt_cv_with_aix_soname+y}
   8784 then :
   8785   printf %s "(cached) " >&6
   8786 else case e in #(
   8787   e) lt_cv_with_aix_soname=aix ;;
   8788 esac
   8789 fi
   8790  ;;
   8791 esac
   8792 fi
   8793 
   8794      enable_aix_soname=$lt_cv_with_aix_soname ;;
   8795 esac
   8796 fi
   8797 
   8798   with_aix_soname=$enable_aix_soname
   8799   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8800 printf "%s\n" "$with_aix_soname" >&6; }
   8801   if test aix != "$with_aix_soname"; then
   8802     # For the AIX way of multilib, we name the shared archive member
   8803     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8804     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8805     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8806     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8807     if test 64 = "${OBJECT_MODE-32}"; then
   8808       shared_archive_member_spec=shr_64
   8809     else
   8810       shared_archive_member_spec=shr
   8811     fi
   8812   fi
   8813   ;;
   8814 *)
   8815   with_aix_soname=aix
   8816   ;;
   8817 esac
   8818 
   8819 
   8820 
   8821 
   8822 
   8823 
   8824 
   8825 
   8826 
   8827 
   8828 # This can be used to rebuild libtool when needed
   8829 LIBTOOL_DEPS=$ltmain
   8830 
   8831 # Always use our own libtool.
   8832 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8833 
   8834 
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 
   8841 
   8842 
   8843 
   8844 
   8845 
   8846 
   8847 
   8848 
   8849 
   8850 
   8851 
   8852 
   8853 
   8854 
   8855 
   8856 
   8857 
   8858 
   8859 
   8860 
   8861 
   8862 
   8863 test -z "$LN_S" && LN_S="ln -s"
   8864 
   8865 
   8866 
   8867 
   8868 
   8869 
   8870 
   8871 
   8872 
   8873 
   8874 
   8875 
   8876 
   8877 
   8878 if test -n "${ZSH_VERSION+set}"; then
   8879    setopt NO_GLOB_SUBST
   8880 fi
   8881 
   8882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8883 printf %s "checking for objdir... " >&6; }
   8884 if test ${lt_cv_objdir+y}
   8885 then :
   8886   printf %s "(cached) " >&6
   8887 else case e in #(
   8888   e) rm -f .libs 2>/dev/null
   8889 mkdir .libs 2>/dev/null
   8890 if test -d .libs; then
   8891   lt_cv_objdir=.libs
   8892 else
   8893   # MS-DOS does not allow filenames that begin with a dot.
   8894   lt_cv_objdir=_libs
   8895 fi
   8896 rmdir .libs 2>/dev/null ;;
   8897 esac
   8898 fi
   8899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8900 printf "%s\n" "$lt_cv_objdir" >&6; }
   8901 objdir=$lt_cv_objdir
   8902 
   8903 
   8904 
   8905 
   8906 
   8907 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   8908 
   8909 
   8910 
   8911 
   8912 case $host_os in
   8913 aix3*)
   8914   # AIX sometimes has problems with the GCC collect2 program.  For some
   8915   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8916   # vanish in a puff of smoke.
   8917   if test set != "${COLLECT_NAMES+set}"; then
   8918     COLLECT_NAMES=
   8919     export COLLECT_NAMES
   8920   fi
   8921   ;;
   8922 esac
   8923 
   8924 # Global variables:
   8925 ofile=libtool
   8926 can_build_shared=yes
   8927 
   8928 # All known linkers require a '.a' archive for static linking (except MSVC and
   8929 # ICC, which need '.lib').
   8930 libext=a
   8931 
   8932 with_gnu_ld=$lt_cv_prog_gnu_ld
   8933 
   8934 old_CC=$CC
   8935 old_CFLAGS=$CFLAGS
   8936 
   8937 # Set sane defaults for various variables
   8938 test -z "$CC" && CC=cc
   8939 test -z "$LTCC" && LTCC=$CC
   8940 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8941 test -z "$LD" && LD=ld
   8942 test -z "$ac_objext" && ac_objext=o
   8943 
   8944 func_cc_basename $compiler
   8945 cc_basename=$func_cc_basename_result
   8946 
   8947 
   8948 # Only perform the check for file, if the check method requires it
   8949 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8950 case $deplibs_check_method in
   8951 file_magic*)
   8952   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8953     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8954 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   8955 if test ${lt_cv_path_MAGIC_CMD+y}
   8956 then :
   8957   printf %s "(cached) " >&6
   8958 else case e in #(
   8959   e) case $MAGIC_CMD in
   8960 [\\/*] |  ?:[\\/]*)
   8961   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8962   ;;
   8963 *)
   8964   lt_save_MAGIC_CMD=$MAGIC_CMD
   8965   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8966   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8967   for ac_dir in $ac_dummy; do
   8968     IFS=$lt_save_ifs
   8969     test -z "$ac_dir" && ac_dir=.
   8970     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8971       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8972       if test -n "$file_magic_test_file"; then
   8973 	case $deplibs_check_method in
   8974 	"file_magic "*)
   8975 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8976 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8977 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8978 	    $EGREP "$file_magic_regex" > /dev/null; then
   8979 	    :
   8980 	  else
   8981 	    cat <<_LT_EOF 1>&2
   8982 
   8983 *** Warning: the command libtool uses to detect shared libraries,
   8984 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8985 *** The result is that libtool may fail to recognize shared libraries
   8986 *** as such.  This will affect the creation of libtool libraries that
   8987 *** depend on shared libraries, but programs linked with such libtool
   8988 *** libraries will work regardless of this problem.  Nevertheless, you
   8989 *** may want to report the problem to your system manager and/or to
   8990 *** bug-libtool@gnu.org
   8991 
   8992 _LT_EOF
   8993 	  fi ;;
   8994 	esac
   8995       fi
   8996       break
   8997     fi
   8998   done
   8999   IFS=$lt_save_ifs
   9000   MAGIC_CMD=$lt_save_MAGIC_CMD
   9001   ;;
   9002 esac ;;
   9003 esac
   9004 fi
   9005 
   9006 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9007 if test -n "$MAGIC_CMD"; then
   9008   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9009 printf "%s\n" "$MAGIC_CMD" >&6; }
   9010 else
   9011   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9012 printf "%s\n" "no" >&6; }
   9013 fi
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9020   if test -n "$ac_tool_prefix"; then
   9021     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9022 printf %s "checking for file... " >&6; }
   9023 if test ${lt_cv_path_MAGIC_CMD+y}
   9024 then :
   9025   printf %s "(cached) " >&6
   9026 else case e in #(
   9027   e) case $MAGIC_CMD in
   9028 [\\/*] |  ?:[\\/]*)
   9029   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9030   ;;
   9031 *)
   9032   lt_save_MAGIC_CMD=$MAGIC_CMD
   9033   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9034   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9035   for ac_dir in $ac_dummy; do
   9036     IFS=$lt_save_ifs
   9037     test -z "$ac_dir" && ac_dir=.
   9038     if test -f "$ac_dir/file"; then
   9039       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9040       if test -n "$file_magic_test_file"; then
   9041 	case $deplibs_check_method in
   9042 	"file_magic "*)
   9043 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9044 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9045 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9046 	    $EGREP "$file_magic_regex" > /dev/null; then
   9047 	    :
   9048 	  else
   9049 	    cat <<_LT_EOF 1>&2
   9050 
   9051 *** Warning: the command libtool uses to detect shared libraries,
   9052 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9053 *** The result is that libtool may fail to recognize shared libraries
   9054 *** as such.  This will affect the creation of libtool libraries that
   9055 *** depend on shared libraries, but programs linked with such libtool
   9056 *** libraries will work regardless of this problem.  Nevertheless, you
   9057 *** may want to report the problem to your system manager and/or to
   9058 *** bug-libtool@gnu.org
   9059 
   9060 _LT_EOF
   9061 	  fi ;;
   9062 	esac
   9063       fi
   9064       break
   9065     fi
   9066   done
   9067   IFS=$lt_save_ifs
   9068   MAGIC_CMD=$lt_save_MAGIC_CMD
   9069   ;;
   9070 esac ;;
   9071 esac
   9072 fi
   9073 
   9074 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9075 if test -n "$MAGIC_CMD"; then
   9076   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9077 printf "%s\n" "$MAGIC_CMD" >&6; }
   9078 else
   9079   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9080 printf "%s\n" "no" >&6; }
   9081 fi
   9082 
   9083 
   9084   else
   9085     MAGIC_CMD=:
   9086   fi
   9087 fi
   9088 
   9089   fi
   9090   ;;
   9091 esac
   9092 
   9093 # Use C for the default configuration in the libtool script
   9094 
   9095 lt_save_CC=$CC
   9096 ac_ext=c
   9097 ac_cpp='$CPP $CPPFLAGS'
   9098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9101 
   9102 
   9103 # Source file extension for C test sources.
   9104 ac_ext=c
   9105 
   9106 # Object file extension for compiled C test sources.
   9107 objext=o
   9108 objext=$objext
   9109 
   9110 # Code to be used in simple compile tests
   9111 lt_simple_compile_test_code="int some_variable = 0;"
   9112 
   9113 # Code to be used in simple link tests
   9114 lt_simple_link_test_code='int main(void){return(0);}'
   9115 
   9116 
   9117 
   9118 
   9119 
   9120 
   9121 
   9122 # If no C compiler was specified, use CC.
   9123 LTCC=${LTCC-"$CC"}
   9124 
   9125 # If no C compiler flags were specified, use CFLAGS.
   9126 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9127 
   9128 # Allow CC to be a program name with arguments.
   9129 compiler=$CC
   9130 
   9131 # Save the default compiler, since it gets overwritten when the other
   9132 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9133 compiler_DEFAULT=$CC
   9134 
   9135 # save warnings/boilerplate of simple test code
   9136 ac_outfile=conftest.$ac_objext
   9137 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9138 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9139 _lt_compiler_boilerplate=`cat conftest.err`
   9140 $RM conftest*
   9141 
   9142 ac_outfile=conftest.$ac_objext
   9143 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9144 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9145 _lt_linker_boilerplate=`cat conftest.err`
   9146 $RM -r conftest*
   9147 
   9148 
   9149 ## CAVEAT EMPTOR:
   9150 ## There is no encapsulation within the following macros, do not change
   9151 ## the running order or otherwise move them around unless you know exactly
   9152 ## what you are doing...
   9153 if test -n "$compiler"; then
   9154 
   9155 lt_prog_compiler_no_builtin_flag=
   9156 
   9157 if test yes = "$GCC"; then
   9158   case $cc_basename in
   9159   nvcc*)
   9160     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9161   *)
   9162     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9163   esac
   9164 
   9165   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9166 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9167 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9168 then :
   9169   printf %s "(cached) " >&6
   9170 else case e in #(
   9171   e) lt_cv_prog_compiler_rtti_exceptions=no
   9172    ac_outfile=conftest.$ac_objext
   9173    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9174    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9175    # Insert the option either (1) after the last *FLAGS variable, or
   9176    # (2) before a word containing "conftest.", or (3) at the end.
   9177    # Note that $ac_compile itself does not contain backslashes and begins
   9178    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9179    # The option is referenced via a variable to avoid confusing sed.
   9180    lt_compile=`echo "$ac_compile" | $SED \
   9181    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9182    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9183    -e 's:$: $lt_compiler_flag:'`
   9184    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9185    (eval "$lt_compile" 2>conftest.err)
   9186    ac_status=$?
   9187    cat conftest.err >&5
   9188    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9189    if (exit $ac_status) && test -s "$ac_outfile"; then
   9190      # The compiler can only warn and ignore the option if not recognized
   9191      # So say no if there are warnings other than the usual output.
   9192      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9193      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9194      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9195        lt_cv_prog_compiler_rtti_exceptions=yes
   9196      fi
   9197    fi
   9198    $RM conftest*
   9199  ;;
   9200 esac
   9201 fi
   9202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9203 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9204 
   9205 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9206     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9207 else
   9208     :
   9209 fi
   9210 
   9211 fi
   9212 
   9213 
   9214 
   9215 
   9216 
   9217 
   9218   lt_prog_compiler_wl=
   9219 lt_prog_compiler_pic=
   9220 lt_prog_compiler_static=
   9221 
   9222 
   9223   if test yes = "$GCC"; then
   9224     lt_prog_compiler_wl='-Wl,'
   9225     lt_prog_compiler_static='-static'
   9226 
   9227     case $host_os in
   9228       aix*)
   9229       # All AIX code is PIC.
   9230       if test ia64 = "$host_cpu"; then
   9231 	# AIX 5 now supports IA64 processor
   9232 	lt_prog_compiler_static='-Bstatic'
   9233       fi
   9234       lt_prog_compiler_pic='-fPIC'
   9235       ;;
   9236 
   9237     amigaos*)
   9238       case $host_cpu in
   9239       powerpc)
   9240             # see comment about AmigaOS4 .so support
   9241             lt_prog_compiler_pic='-fPIC'
   9242         ;;
   9243       m68k)
   9244             # FIXME: we need at least 68020 code to build shared libraries, but
   9245             # adding the '-m68020' flag to GCC prevents building anything better,
   9246             # like '-m68040'.
   9247             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9248         ;;
   9249       esac
   9250       ;;
   9251 
   9252     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9253       # PIC is the default for these OSes.
   9254       ;;
   9255 
   9256     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9257       # This hack is so that the source file can tell whether it is being
   9258       # built for inclusion in a dll (and should export symbols for example).
   9259       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9260       # (--disable-auto-import) libraries
   9261       lt_prog_compiler_pic='-DDLL_EXPORT'
   9262       case $host_os in
   9263       os2*)
   9264 	lt_prog_compiler_static='$wl-static'
   9265 	;;
   9266       esac
   9267       ;;
   9268 
   9269     darwin* | rhapsody*)
   9270       # PIC is the default on this platform
   9271       # Common symbols not allowed in MH_DYLIB files
   9272       lt_prog_compiler_pic='-fno-common'
   9273       ;;
   9274 
   9275     haiku*)
   9276       # PIC is the default for Haiku.
   9277       # The "-static" flag exists, but is broken.
   9278       lt_prog_compiler_static=
   9279       ;;
   9280 
   9281     hpux*)
   9282       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9283       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9284       # sets the default TLS model and affects inlining.
   9285       case $host_cpu in
   9286       hppa*64*)
   9287 	# +Z the default
   9288 	;;
   9289       *)
   9290 	lt_prog_compiler_pic='-fPIC'
   9291 	;;
   9292       esac
   9293       ;;
   9294 
   9295     interix[3-9]*)
   9296       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9297       # Instead, we relocate shared libraries at runtime.
   9298       ;;
   9299 
   9300     msdosdjgpp*)
   9301       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9302       # on systems that don't support them.
   9303       lt_prog_compiler_can_build_shared=no
   9304       enable_shared=no
   9305       ;;
   9306 
   9307     *nto* | *qnx*)
   9308       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9309       # it will coredump.
   9310       lt_prog_compiler_pic='-fPIC -shared'
   9311       ;;
   9312 
   9313     sysv4*MP*)
   9314       if test -d /usr/nec; then
   9315 	lt_prog_compiler_pic=-Kconform_pic
   9316       fi
   9317       ;;
   9318 
   9319     *)
   9320       lt_prog_compiler_pic='-fPIC'
   9321       ;;
   9322     esac
   9323 
   9324     case $cc_basename in
   9325     nvcc*) # Cuda Compiler Driver 2.2
   9326       lt_prog_compiler_wl='-Xlinker '
   9327       if test -n "$lt_prog_compiler_pic"; then
   9328         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9329       fi
   9330       ;;
   9331     esac
   9332   else
   9333     # PORTME Check for flag to pass linker flags through the system compiler.
   9334     case $host_os in
   9335     aix*)
   9336       lt_prog_compiler_wl='-Wl,'
   9337       if test ia64 = "$host_cpu"; then
   9338 	# AIX 5 now supports IA64 processor
   9339 	lt_prog_compiler_static='-Bstatic'
   9340       else
   9341 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9342       fi
   9343       ;;
   9344 
   9345     darwin* | rhapsody*)
   9346       # PIC is the default on this platform
   9347       # Common symbols not allowed in MH_DYLIB files
   9348       lt_prog_compiler_pic='-fno-common'
   9349       case $cc_basename in
   9350       nagfor*)
   9351         # NAG Fortran compiler
   9352         lt_prog_compiler_wl='-Wl,-Wl,,'
   9353         lt_prog_compiler_pic='-PIC'
   9354         lt_prog_compiler_static='-Bstatic'
   9355         ;;
   9356       esac
   9357       ;;
   9358 
   9359     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9360       # This hack is so that the source file can tell whether it is being
   9361       # built for inclusion in a dll (and should export symbols for example).
   9362       lt_prog_compiler_pic='-DDLL_EXPORT'
   9363       case $host_os in
   9364       os2*)
   9365 	lt_prog_compiler_static='$wl-static'
   9366 	;;
   9367       esac
   9368       ;;
   9369 
   9370     hpux9* | hpux10* | hpux11*)
   9371       lt_prog_compiler_wl='-Wl,'
   9372       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9373       # not for PA HP-UX.
   9374       case $host_cpu in
   9375       hppa*64*|ia64*)
   9376 	# +Z the default
   9377 	;;
   9378       *)
   9379 	lt_prog_compiler_pic='+Z'
   9380 	;;
   9381       esac
   9382       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9383       lt_prog_compiler_static='$wl-a ${wl}archive'
   9384       ;;
   9385 
   9386     irix5* | irix6* | nonstopux*)
   9387       lt_prog_compiler_wl='-Wl,'
   9388       # PIC (with -KPIC) is the default.
   9389       lt_prog_compiler_static='-non_shared'
   9390       ;;
   9391 
   9392     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9393       case $cc_basename in
   9394       # old Intel for x86_64, which still supported -KPIC.
   9395       ecc*)
   9396 	lt_prog_compiler_wl='-Wl,'
   9397 	lt_prog_compiler_pic='-KPIC'
   9398 	lt_prog_compiler_static='-static'
   9399         ;;
   9400       *flang* | ftn | f18* | f95*)
   9401         # Flang compiler.
   9402 	lt_prog_compiler_wl='-Wl,'
   9403 	lt_prog_compiler_pic='-fPIC'
   9404 	lt_prog_compiler_static='-static'
   9405         ;;
   9406       # icc used to be incompatible with GCC.
   9407       # ICC 10 doesn't accept -KPIC any more.
   9408       icc* | ifort*)
   9409 	lt_prog_compiler_wl='-Wl,'
   9410 	lt_prog_compiler_pic='-fPIC'
   9411 	lt_prog_compiler_static='-static'
   9412         ;;
   9413       # Lahey Fortran 8.1.
   9414       lf95*)
   9415 	lt_prog_compiler_wl='-Wl,'
   9416 	lt_prog_compiler_pic='--shared'
   9417 	lt_prog_compiler_static='--static'
   9418 	;;
   9419       nagfor*)
   9420 	# NAG Fortran compiler
   9421 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9422 	lt_prog_compiler_pic='-PIC'
   9423 	lt_prog_compiler_static='-Bstatic'
   9424 	;;
   9425       tcc*)
   9426 	# Fabrice Bellard et al's Tiny C Compiler
   9427 	lt_prog_compiler_wl='-Wl,'
   9428 	lt_prog_compiler_pic='-fPIC'
   9429 	lt_prog_compiler_static='-static'
   9430 	;;
   9431       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9432         # Portland Group compilers (*not* the Pentium gcc compiler,
   9433 	# which looks to be a dead project)
   9434 	lt_prog_compiler_wl='-Wl,'
   9435 	lt_prog_compiler_pic='-fpic'
   9436 	lt_prog_compiler_static='-Bstatic'
   9437         ;;
   9438       ccc*)
   9439         lt_prog_compiler_wl='-Wl,'
   9440         # All Alpha code is PIC.
   9441         lt_prog_compiler_static='-non_shared'
   9442         ;;
   9443       xl* | bgxl* | bgf* | mpixl*)
   9444 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9445 	lt_prog_compiler_wl='-Wl,'
   9446 	lt_prog_compiler_pic='-qpic'
   9447 	lt_prog_compiler_static='-qstaticlink'
   9448 	;;
   9449       *)
   9450 	case `$CC -V 2>&1 | $SED 5q` in
   9451 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9452 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9453 	  lt_prog_compiler_pic='-KPIC'
   9454 	  lt_prog_compiler_static='-Bstatic'
   9455 	  lt_prog_compiler_wl=''
   9456 	  ;;
   9457 	*Sun\ F* | *Sun*Fortran*)
   9458 	  lt_prog_compiler_pic='-KPIC'
   9459 	  lt_prog_compiler_static='-Bstatic'
   9460 	  lt_prog_compiler_wl='-Qoption ld '
   9461 	  ;;
   9462 	*Sun\ C*)
   9463 	  # Sun C 5.9
   9464 	  lt_prog_compiler_pic='-KPIC'
   9465 	  lt_prog_compiler_static='-Bstatic'
   9466 	  lt_prog_compiler_wl='-Wl,'
   9467 	  ;;
   9468         *Intel*\ [CF]*Compiler*)
   9469 	  lt_prog_compiler_wl='-Wl,'
   9470 	  lt_prog_compiler_pic='-fPIC'
   9471 	  lt_prog_compiler_static='-static'
   9472 	  ;;
   9473 	*Portland\ Group*)
   9474 	  lt_prog_compiler_wl='-Wl,'
   9475 	  lt_prog_compiler_pic='-fpic'
   9476 	  lt_prog_compiler_static='-Bstatic'
   9477 	  ;;
   9478 	esac
   9479 	;;
   9480       esac
   9481       ;;
   9482 
   9483     newsos6)
   9484       lt_prog_compiler_pic='-KPIC'
   9485       lt_prog_compiler_static='-Bstatic'
   9486       ;;
   9487 
   9488     *-mlibc)
   9489       lt_prog_compiler_wl='-Wl,'
   9490       lt_prog_compiler_pic='-fPIC'
   9491       lt_prog_compiler_static='-static'
   9492       ;;
   9493 
   9494     *nto* | *qnx*)
   9495       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9496       # it will coredump.
   9497       lt_prog_compiler_pic='-fPIC -shared'
   9498       ;;
   9499 
   9500     osf3* | osf4* | osf5*)
   9501       lt_prog_compiler_wl='-Wl,'
   9502       # All OSF/1 code is PIC.
   9503       lt_prog_compiler_static='-non_shared'
   9504       ;;
   9505 
   9506     rdos*)
   9507       lt_prog_compiler_static='-non_shared'
   9508       ;;
   9509 
   9510     serenity*)
   9511       ;;
   9512 
   9513     solaris*)
   9514       lt_prog_compiler_pic='-KPIC'
   9515       lt_prog_compiler_static='-Bstatic'
   9516       case $cc_basename in
   9517       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9518 	lt_prog_compiler_wl='-Qoption ld ';;
   9519       *)
   9520 	lt_prog_compiler_wl='-Wl,';;
   9521       esac
   9522       ;;
   9523 
   9524     sunos4*)
   9525       lt_prog_compiler_wl='-Qoption ld '
   9526       lt_prog_compiler_pic='-PIC'
   9527       lt_prog_compiler_static='-Bstatic'
   9528       ;;
   9529 
   9530     sysv4 | sysv4.2uw2* | sysv4.3*)
   9531       lt_prog_compiler_wl='-Wl,'
   9532       lt_prog_compiler_pic='-KPIC'
   9533       lt_prog_compiler_static='-Bstatic'
   9534       ;;
   9535 
   9536     sysv4*MP*)
   9537       if test -d /usr/nec; then
   9538 	lt_prog_compiler_pic='-Kconform_pic'
   9539 	lt_prog_compiler_static='-Bstatic'
   9540       fi
   9541       ;;
   9542 
   9543     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9544       lt_prog_compiler_wl='-Wl,'
   9545       lt_prog_compiler_pic='-KPIC'
   9546       lt_prog_compiler_static='-Bstatic'
   9547       ;;
   9548 
   9549     unicos*)
   9550       lt_prog_compiler_wl='-Wl,'
   9551       lt_prog_compiler_can_build_shared=no
   9552       ;;
   9553 
   9554     uts4*)
   9555       lt_prog_compiler_pic='-pic'
   9556       lt_prog_compiler_static='-Bstatic'
   9557       ;;
   9558 
   9559     *)
   9560       lt_prog_compiler_can_build_shared=no
   9561       ;;
   9562     esac
   9563   fi
   9564 
   9565 case $host_os in
   9566   # For platforms that do not support PIC, -DPIC is meaningless:
   9567   *djgpp*)
   9568     lt_prog_compiler_pic=
   9569     ;;
   9570   *)
   9571     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9572     ;;
   9573 esac
   9574 
   9575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9576 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9577 if test ${lt_cv_prog_compiler_pic+y}
   9578 then :
   9579   printf %s "(cached) " >&6
   9580 else case e in #(
   9581   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   9582 esac
   9583 fi
   9584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9585 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9586 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9587 
   9588 #
   9589 # Check to make sure the PIC flag actually works.
   9590 #
   9591 if test -n "$lt_prog_compiler_pic"; then
   9592   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9593 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9594 if test ${lt_cv_prog_compiler_pic_works+y}
   9595 then :
   9596   printf %s "(cached) " >&6
   9597 else case e in #(
   9598   e) lt_cv_prog_compiler_pic_works=no
   9599    ac_outfile=conftest.$ac_objext
   9600    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9601    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9602    # Insert the option either (1) after the last *FLAGS variable, or
   9603    # (2) before a word containing "conftest.", or (3) at the end.
   9604    # Note that $ac_compile itself does not contain backslashes and begins
   9605    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9606    # The option is referenced via a variable to avoid confusing sed.
   9607    lt_compile=`echo "$ac_compile" | $SED \
   9608    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9609    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9610    -e 's:$: $lt_compiler_flag:'`
   9611    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9612    (eval "$lt_compile" 2>conftest.err)
   9613    ac_status=$?
   9614    cat conftest.err >&5
   9615    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9616    if (exit $ac_status) && test -s "$ac_outfile"; then
   9617      # The compiler can only warn and ignore the option if not recognized
   9618      # So say no if there are warnings other than the usual output.
   9619      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9620      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9621      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9622        lt_cv_prog_compiler_pic_works=yes
   9623      fi
   9624    fi
   9625    $RM conftest*
   9626  ;;
   9627 esac
   9628 fi
   9629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9630 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9631 
   9632 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9633     case $lt_prog_compiler_pic in
   9634      "" | " "*) ;;
   9635      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9636      esac
   9637 else
   9638     lt_prog_compiler_pic=
   9639      lt_prog_compiler_can_build_shared=no
   9640 fi
   9641 
   9642 fi
   9643 
   9644 
   9645 
   9646 
   9647 
   9648 
   9649 
   9650 
   9651 
   9652 
   9653 
   9654 #
   9655 # Check to make sure the static flag actually works.
   9656 #
   9657 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9659 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9660 if test ${lt_cv_prog_compiler_static_works+y}
   9661 then :
   9662   printf %s "(cached) " >&6
   9663 else case e in #(
   9664   e) lt_cv_prog_compiler_static_works=no
   9665    save_LDFLAGS=$LDFLAGS
   9666    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9667    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9668    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9669      # The linker can only warn and ignore the option if not recognized
   9670      # So say no if there are warnings
   9671      if test -s conftest.err; then
   9672        # Append any errors to the config.log.
   9673        cat conftest.err 1>&5
   9674        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9675        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9676        if diff conftest.exp conftest.er2 >/dev/null; then
   9677          lt_cv_prog_compiler_static_works=yes
   9678        fi
   9679      else
   9680        lt_cv_prog_compiler_static_works=yes
   9681      fi
   9682    fi
   9683    $RM -r conftest*
   9684    LDFLAGS=$save_LDFLAGS
   9685  ;;
   9686 esac
   9687 fi
   9688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9689 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9690 
   9691 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9692     :
   9693 else
   9694     lt_prog_compiler_static=
   9695 fi
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9704 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9705 if test ${lt_cv_prog_compiler_c_o+y}
   9706 then :
   9707   printf %s "(cached) " >&6
   9708 else case e in #(
   9709   e) lt_cv_prog_compiler_c_o=no
   9710    $RM -r conftest 2>/dev/null
   9711    mkdir conftest
   9712    cd conftest
   9713    mkdir out
   9714    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9715 
   9716    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9717    # Insert the option either (1) after the last *FLAGS variable, or
   9718    # (2) before a word containing "conftest.", or (3) at the end.
   9719    # Note that $ac_compile itself does not contain backslashes and begins
   9720    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9721    lt_compile=`echo "$ac_compile" | $SED \
   9722    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9723    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9724    -e 's:$: $lt_compiler_flag:'`
   9725    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9726    (eval "$lt_compile" 2>out/conftest.err)
   9727    ac_status=$?
   9728    cat out/conftest.err >&5
   9729    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9730    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9731    then
   9732      # The compiler can only warn and ignore the option if not recognized
   9733      # So say no if there are warnings
   9734      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9735      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9736      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9737        lt_cv_prog_compiler_c_o=yes
   9738      fi
   9739    fi
   9740    chmod u+w . 2>&5
   9741    $RM conftest*
   9742    # SGI C++ compiler will create directory out/ii_files/ for
   9743    # template instantiation
   9744    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9745    $RM out/* && rmdir out
   9746    cd ..
   9747    $RM -r conftest
   9748    $RM conftest*
   9749  ;;
   9750 esac
   9751 fi
   9752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9753 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9761 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9762 if test ${lt_cv_prog_compiler_c_o+y}
   9763 then :
   9764   printf %s "(cached) " >&6
   9765 else case e in #(
   9766   e) lt_cv_prog_compiler_c_o=no
   9767    $RM -r conftest 2>/dev/null
   9768    mkdir conftest
   9769    cd conftest
   9770    mkdir out
   9771    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9772 
   9773    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9774    # Insert the option either (1) after the last *FLAGS variable, or
   9775    # (2) before a word containing "conftest.", or (3) at the end.
   9776    # Note that $ac_compile itself does not contain backslashes and begins
   9777    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9778    lt_compile=`echo "$ac_compile" | $SED \
   9779    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9780    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9781    -e 's:$: $lt_compiler_flag:'`
   9782    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9783    (eval "$lt_compile" 2>out/conftest.err)
   9784    ac_status=$?
   9785    cat out/conftest.err >&5
   9786    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9787    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9788    then
   9789      # The compiler can only warn and ignore the option if not recognized
   9790      # So say no if there are warnings
   9791      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9792      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9793      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9794        lt_cv_prog_compiler_c_o=yes
   9795      fi
   9796    fi
   9797    chmod u+w . 2>&5
   9798    $RM conftest*
   9799    # SGI C++ compiler will create directory out/ii_files/ for
   9800    # template instantiation
   9801    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9802    $RM out/* && rmdir out
   9803    cd ..
   9804    $RM -r conftest
   9805    $RM conftest*
   9806  ;;
   9807 esac
   9808 fi
   9809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9810 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9811 
   9812 
   9813 
   9814 
   9815 hard_links=nottested
   9816 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9817   # do not overwrite the value of need_locks provided by the user
   9818   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9819 printf %s "checking if we can lock with hard links... " >&6; }
   9820   hard_links=yes
   9821   $RM conftest*
   9822   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9823   touch conftest.a
   9824   ln conftest.a conftest.b 2>&5 || hard_links=no
   9825   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9826   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9827 printf "%s\n" "$hard_links" >&6; }
   9828   if test no = "$hard_links"; then
   9829     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9830 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9831     need_locks=warn
   9832   fi
   9833 else
   9834   need_locks=no
   9835 fi
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9843 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9844 
   9845   runpath_var=
   9846   allow_undefined_flag=
   9847   always_export_symbols=no
   9848   archive_cmds=
   9849   archive_expsym_cmds=
   9850   compiler_needs_object=no
   9851   enable_shared_with_static_runtimes=no
   9852   export_dynamic_flag_spec=
   9853   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9854   hardcode_automatic=no
   9855   hardcode_direct=no
   9856   hardcode_direct_absolute=no
   9857   hardcode_libdir_flag_spec=
   9858   hardcode_libdir_separator=
   9859   hardcode_minus_L=no
   9860   hardcode_shlibpath_var=unsupported
   9861   inherit_rpath=no
   9862   link_all_deplibs=unknown
   9863   module_cmds=
   9864   module_expsym_cmds=
   9865   old_archive_from_new_cmds=
   9866   old_archive_from_expsyms_cmds=
   9867   thread_safe_flag_spec=
   9868   whole_archive_flag_spec=
   9869   # include_expsyms should be a list of space-separated symbols to be *always*
   9870   # included in the symbol list
   9871   include_expsyms=
   9872   # exclude_expsyms can be an extended regexp of symbols to exclude
   9873   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9874   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9875   # as well as any symbol that contains 'd'.
   9876   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9877   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9878   # platforms (ab)use it in PIC code, but their linkers get confused if
   9879   # the symbol is explicitly referenced.  Since portable code cannot
   9880   # rely on this symbol name, it's probably fine to never include it in
   9881   # preloaded symbol tables.
   9882   # Exclude shared library initialization/finalization symbols.
   9883   extract_expsyms_cmds=
   9884 
   9885   case $host_os in
   9886   cygwin* | mingw* | windows* | pw32* | cegcc*)
   9887     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   9888     # When not using gcc, we currently assume that we are using
   9889     # Microsoft Visual C++ or Intel C++ Compiler.
   9890     if test yes != "$GCC"; then
   9891       with_gnu_ld=no
   9892     fi
   9893     ;;
   9894   interix*)
   9895     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   9896     with_gnu_ld=yes
   9897     ;;
   9898   esac
   9899 
   9900   ld_shlibs=yes
   9901 
   9902   # On some targets, GNU ld is compatible enough with the native linker
   9903   # that we're better off using the native interface for both.
   9904   lt_use_gnu_ld_interface=no
   9905   if test yes = "$with_gnu_ld"; then
   9906     case $host_os in
   9907       aix*)
   9908 	# The AIX port of GNU ld has always aspired to compatibility
   9909 	# with the native linker.  However, as the warning in the GNU ld
   9910 	# block says, versions before 2.19.5* couldn't really create working
   9911 	# shared libraries, regardless of the interface used.
   9912 	case `$LD -v 2>&1` in
   9913 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9914 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9915 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9916 	  *)
   9917 	    lt_use_gnu_ld_interface=yes
   9918 	    ;;
   9919 	esac
   9920 	;;
   9921       *)
   9922 	lt_use_gnu_ld_interface=yes
   9923 	;;
   9924     esac
   9925   fi
   9926 
   9927   if test yes = "$lt_use_gnu_ld_interface"; then
   9928     # If archive_cmds runs LD, not CC, wlarc should be empty
   9929     wlarc='$wl'
   9930 
   9931     # Set some defaults for GNU ld with shared library support. These
   9932     # are reset later if shared libraries are not supported. Putting them
   9933     # here allows them to be overridden if necessary.
   9934     runpath_var=LD_RUN_PATH
   9935     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9936     export_dynamic_flag_spec='$wl--export-dynamic'
   9937     # ancient GNU ld didn't support --whole-archive et. al.
   9938     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9939       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9940     else
   9941       whole_archive_flag_spec=
   9942     fi
   9943     supports_anon_versioning=no
   9944     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   9945       *GNU\ gold*) supports_anon_versioning=yes ;;
   9946       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9947       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9948       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9949       *\ 2.11.*) ;; # other 2.11 versions
   9950       *) supports_anon_versioning=yes ;;
   9951     esac
   9952 
   9953     # See if GNU ld supports shared libraries.
   9954     case $host_os in
   9955     aix[3-9]*)
   9956       # On AIX/PPC, the GNU linker is very broken
   9957       if test ia64 != "$host_cpu"; then
   9958 	ld_shlibs=no
   9959 	cat <<_LT_EOF 1>&2
   9960 
   9961 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9962 *** to be unable to reliably create shared libraries on AIX.
   9963 *** Therefore, libtool is disabling shared libraries support.  If you
   9964 *** really care for shared libraries, you may want to install binutils
   9965 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9966 *** You will then need to restart the configuration process.
   9967 
   9968 _LT_EOF
   9969       fi
   9970       ;;
   9971 
   9972     amigaos*)
   9973       case $host_cpu in
   9974       powerpc)
   9975             # see comment about AmigaOS4 .so support
   9976             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9977             archive_expsym_cmds=''
   9978         ;;
   9979       m68k)
   9980             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)'
   9981             hardcode_libdir_flag_spec='-L$libdir'
   9982             hardcode_minus_L=yes
   9983         ;;
   9984       esac
   9985       ;;
   9986 
   9987     beos*)
   9988       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9989 	allow_undefined_flag=unsupported
   9990 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9991 	# support --undefined.  This deserves some investigation.  FIXME
   9992 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9993       else
   9994 	ld_shlibs=no
   9995       fi
   9996       ;;
   9997 
   9998     cygwin* | mingw* | windows* | pw32* | cegcc*)
   9999       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10000       # as there is no search path for DLLs.
   10001       hardcode_libdir_flag_spec='-L$libdir'
   10002       export_dynamic_flag_spec='$wl--export-all-symbols'
   10003       allow_undefined_flag=unsupported
   10004       always_export_symbols=no
   10005       enable_shared_with_static_runtimes=yes
   10006       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'
   10007       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10008       file_list_spec='@'
   10009 
   10010       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10011         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10012 	# If the export-symbols file already is a .def file, use it as
   10013 	# is; otherwise, prepend EXPORTS...
   10014 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10015           cp $export_symbols $output_objdir/$soname.def;
   10016         else
   10017           echo EXPORTS > $output_objdir/$soname.def;
   10018           cat $export_symbols >> $output_objdir/$soname.def;
   10019         fi~
   10020         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10021       else
   10022 	ld_shlibs=no
   10023       fi
   10024       ;;
   10025 
   10026     haiku*)
   10027       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10028       link_all_deplibs=no
   10029       ;;
   10030 
   10031     os2*)
   10032       hardcode_libdir_flag_spec='-L$libdir'
   10033       hardcode_minus_L=yes
   10034       allow_undefined_flag=unsupported
   10035       shrext_cmds=.dll
   10036       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10037 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10038 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10039 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10040 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10041 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10042 	emximp -o $lib $output_objdir/$libname.def'
   10043       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10044 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10045 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10046 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10047 	prefix_cmds="$SED"~
   10048 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10049 	  prefix_cmds="$prefix_cmds -e 1d";
   10050 	fi~
   10051 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10052 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10053 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10054 	emximp -o $lib $output_objdir/$libname.def'
   10055       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10056       enable_shared_with_static_runtimes=yes
   10057       file_list_spec='@'
   10058       ;;
   10059 
   10060     interix[3-9]*)
   10061       hardcode_direct=no
   10062       hardcode_shlibpath_var=no
   10063       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10064       export_dynamic_flag_spec='$wl-E'
   10065       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10066       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10067       # default) and relocated if they conflict, which is a slow very memory
   10068       # consuming and fragmenting process.  To avoid this, we pick a random,
   10069       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10070       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10071       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10072       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'
   10073       ;;
   10074 
   10075     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10076       tmp_diet=no
   10077       if test linux-dietlibc = "$host_os"; then
   10078 	case $cc_basename in
   10079 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10080 	esac
   10081       fi
   10082       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10083 	 && test no = "$tmp_diet"
   10084       then
   10085 	tmp_addflag=' $pic_flag'
   10086 	tmp_sharedflag='-shared'
   10087 	case $cc_basename,$host_cpu in
   10088         pgcc*)				# Portland Group C compiler
   10089 	  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'
   10090 	  tmp_addflag=' $pic_flag'
   10091 	  ;;
   10092 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10093 					# Portland Group f77 and f90 compilers
   10094 	  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'
   10095 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10096 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10097 	  tmp_addflag=' -i_dynamic' ;;
   10098 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10099 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10100 	ifc* | ifort*)			# Intel Fortran compiler
   10101 	  tmp_addflag=' -nofor_main' ;;
   10102 	lf95*)				# Lahey Fortran 8.1
   10103 	  whole_archive_flag_spec=
   10104 	  tmp_sharedflag='--shared' ;;
   10105         nagfor*)                        # NAGFOR 5.3
   10106           tmp_sharedflag='-Wl,-shared' ;;
   10107 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10108 	  tmp_sharedflag='-qmkshrobj'
   10109 	  tmp_addflag= ;;
   10110 	nvcc*)	# Cuda Compiler Driver 2.2
   10111 	  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'
   10112 	  compiler_needs_object=yes
   10113 	  ;;
   10114 	esac
   10115 	case `$CC -V 2>&1 | $SED 5q` in
   10116 	*Sun\ C*)			# Sun C 5.9
   10117 	  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'
   10118 	  compiler_needs_object=yes
   10119 	  tmp_sharedflag='-G' ;;
   10120 	*Sun\ F*)			# Sun Fortran 8.3
   10121 	  tmp_sharedflag='-G' ;;
   10122 	esac
   10123 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10124 
   10125         if test yes = "$supports_anon_versioning"; then
   10126           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10127             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10128             echo "local: *; };" >> $output_objdir/$libname.ver~
   10129             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10130         fi
   10131 
   10132 	case $cc_basename in
   10133 	tcc*)
   10134 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10135 	  export_dynamic_flag_spec='-rdynamic'
   10136 	  ;;
   10137 	xlf* | bgf* | bgxlf* | mpixlf*)
   10138 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10139 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10140 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10141 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10142 	  if test yes = "$supports_anon_versioning"; then
   10143 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10144               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10145               echo "local: *; };" >> $output_objdir/$libname.ver~
   10146               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10147 	  fi
   10148 	  ;;
   10149 	esac
   10150       else
   10151         ld_shlibs=no
   10152       fi
   10153       ;;
   10154 
   10155     *-mlibc)
   10156 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10157 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10158       ;;
   10159 
   10160     netbsd* | netbsdelf*-gnu)
   10161       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10162 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10163 	wlarc=
   10164       else
   10165 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10166 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10167       fi
   10168       ;;
   10169 
   10170     solaris*)
   10171       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10172 	ld_shlibs=no
   10173 	cat <<_LT_EOF 1>&2
   10174 
   10175 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10176 *** create shared libraries on Solaris systems.  Therefore, libtool
   10177 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10178 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10179 *** your PATH or compiler configuration so that the native linker is
   10180 *** used, and then restart.
   10181 
   10182 _LT_EOF
   10183       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10184 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10185 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10186       else
   10187 	ld_shlibs=no
   10188       fi
   10189       ;;
   10190 
   10191     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10192       case `$LD -v 2>&1` in
   10193         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10194 	ld_shlibs=no
   10195 	cat <<_LT_EOF 1>&2
   10196 
   10197 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10198 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10199 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10200 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10201 *** your PATH or compiler configuration so that the native linker is
   10202 *** used, and then restart.
   10203 
   10204 _LT_EOF
   10205 	;;
   10206 	*)
   10207 	  # For security reasons, it is highly recommended that you always
   10208 	  # use absolute paths for naming shared libraries, and exclude the
   10209 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10210 	  # requires that you compile everything twice, which is a pain.
   10211 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10212 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10213 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10214 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10215 	  else
   10216 	    ld_shlibs=no
   10217 	  fi
   10218 	;;
   10219       esac
   10220       ;;
   10221 
   10222     sunos4*)
   10223       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10224       wlarc=
   10225       hardcode_direct=yes
   10226       hardcode_shlibpath_var=no
   10227       ;;
   10228 
   10229     *)
   10230       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10231 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10232 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10233       else
   10234 	ld_shlibs=no
   10235       fi
   10236       ;;
   10237     esac
   10238 
   10239     if test no = "$ld_shlibs"; then
   10240       runpath_var=
   10241       hardcode_libdir_flag_spec=
   10242       export_dynamic_flag_spec=
   10243       whole_archive_flag_spec=
   10244     fi
   10245   else
   10246     # PORTME fill in a description of your system's linker (not GNU ld)
   10247     case $host_os in
   10248     aix3*)
   10249       allow_undefined_flag=unsupported
   10250       always_export_symbols=yes
   10251       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'
   10252       # Note: this linker hardcodes the directories in LIBPATH if there
   10253       # are no directories specified by -L.
   10254       hardcode_minus_L=yes
   10255       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10256 	# Neither direct hardcoding nor static linking is supported with a
   10257 	# broken collect2.
   10258 	hardcode_direct=unsupported
   10259       fi
   10260       ;;
   10261 
   10262     aix[4-9]*)
   10263       if test ia64 = "$host_cpu"; then
   10264 	# On IA64, the linker does run time linking by default, so we don't
   10265 	# have to do anything special.
   10266 	aix_use_runtimelinking=no
   10267 	exp_sym_flag='-Bexport'
   10268 	no_entry_flag=
   10269       else
   10270 	# If we're using GNU nm, then we don't want the "-C" option.
   10271 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10272 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10273 	# weak defined symbols like other global defined symbols, whereas
   10274 	# GNU nm marks them as "W".
   10275 	# While the 'weak' keyword is ignored in the Export File, we need
   10276 	# it in the Import File for the 'aix-soname' feature, so we have
   10277 	# to replace the "-B" option with "-P" for AIX nm.
   10278 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10279 	  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'
   10280 	else
   10281 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   10282 	fi
   10283 	aix_use_runtimelinking=no
   10284 
   10285 	# Test if we are trying to use run time linking or normal
   10286 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10287 	# have runtime linking enabled, and use it for executables.
   10288 	# For shared libraries, we enable/disable runtime linking
   10289 	# depending on the kind of the shared library created -
   10290 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10291 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10292 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10293 	#            lib.a           static archive
   10294 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10295 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10296 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10297 	#            lib.a(lib.so.V) shared, rtl:no
   10298 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10299 	#            lib.a           static archive
   10300 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10301 	  for ld_flag in $LDFLAGS; do
   10302 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10303 	    aix_use_runtimelinking=yes
   10304 	    break
   10305 	  fi
   10306 	  done
   10307 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10308 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10309 	    # so we don't have lib.a shared libs to link our executables.
   10310 	    # We have to force runtime linking in this case.
   10311 	    aix_use_runtimelinking=yes
   10312 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10313 	  fi
   10314 	  ;;
   10315 	esac
   10316 
   10317 	exp_sym_flag='-bexport'
   10318 	no_entry_flag='-bnoentry'
   10319       fi
   10320 
   10321       # When large executables or shared objects are built, AIX ld can
   10322       # have problems creating the table of contents.  If linking a library
   10323       # or program results in "error TOC overflow" add -mminimal-toc to
   10324       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10325       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10326 
   10327       archive_cmds=''
   10328       hardcode_direct=yes
   10329       hardcode_direct_absolute=yes
   10330       hardcode_libdir_separator=':'
   10331       link_all_deplibs=yes
   10332       file_list_spec='$wl-f,'
   10333       case $with_aix_soname,$aix_use_runtimelinking in
   10334       aix,*) ;; # traditional, no import file
   10335       svr4,* | *,yes) # use import file
   10336 	# The Import File defines what to hardcode.
   10337 	hardcode_direct=no
   10338 	hardcode_direct_absolute=no
   10339 	;;
   10340       esac
   10341 
   10342       if test yes = "$GCC"; then
   10343 	case $host_os in aix4.[012]|aix4.[012].*)
   10344 	# We only want to do this on AIX 4.2 and lower, the check
   10345 	# below for broken collect2 doesn't work under 4.3+
   10346 	  collect2name=`$CC -print-prog-name=collect2`
   10347 	  if test -f "$collect2name" &&
   10348 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10349 	  then
   10350 	  # We have reworked collect2
   10351 	  :
   10352 	  else
   10353 	  # We have old collect2
   10354 	  hardcode_direct=unsupported
   10355 	  # It fails to find uninstalled libraries when the uninstalled
   10356 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10357 	  # to unsupported forces relinking
   10358 	  hardcode_minus_L=yes
   10359 	  hardcode_libdir_flag_spec='-L$libdir'
   10360 	  hardcode_libdir_separator=
   10361 	  fi
   10362 	  ;;
   10363 	esac
   10364 	shared_flag='-shared'
   10365 	if test yes = "$aix_use_runtimelinking"; then
   10366 	  shared_flag="$shared_flag "'$wl-G'
   10367 	fi
   10368 	# Need to ensure runtime linking is disabled for the traditional
   10369 	# shared library, or the linker may eventually find shared libraries
   10370 	# /with/ Import File - we do not want to mix them.
   10371 	shared_flag_aix='-shared'
   10372 	shared_flag_svr4='-shared $wl-G'
   10373       else
   10374 	# not using gcc
   10375 	if test ia64 = "$host_cpu"; then
   10376 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10377 	# chokes on -Wl,-G. The following line is correct:
   10378 	  shared_flag='-G'
   10379 	else
   10380 	  if test yes = "$aix_use_runtimelinking"; then
   10381 	    shared_flag='$wl-G'
   10382 	  else
   10383 	    shared_flag='$wl-bM:SRE'
   10384 	  fi
   10385 	  shared_flag_aix='$wl-bM:SRE'
   10386 	  shared_flag_svr4='$wl-G'
   10387 	fi
   10388       fi
   10389 
   10390       export_dynamic_flag_spec='$wl-bexpall'
   10391       # It seems that -bexpall does not export symbols beginning with
   10392       # underscore (_), so it is better to generate a list of symbols to export.
   10393       always_export_symbols=yes
   10394       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10395 	# Warning - without using the other runtime loading flags (-brtl),
   10396 	# -berok will link without error, but may produce a broken library.
   10397 	allow_undefined_flag='-berok'
   10398         # Determine the default libpath from the value encoded in an
   10399         # empty executable.
   10400         if test set = "${lt_cv_aix_libpath+set}"; then
   10401   aix_libpath=$lt_cv_aix_libpath
   10402 else
   10403   if test ${lt_cv_aix_libpath_+y}
   10404 then :
   10405   printf %s "(cached) " >&6
   10406 else case e in #(
   10407   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10408 /* end confdefs.h.  */
   10409 
   10410 int
   10411 main (void)
   10412 {
   10413 
   10414   ;
   10415   return 0;
   10416 }
   10417 _ACEOF
   10418 if ac_fn_c_try_link "$LINENO"
   10419 then :
   10420 
   10421   lt_aix_libpath_sed='
   10422       /Import File Strings/,/^$/ {
   10423 	  /^0/ {
   10424 	      s/^0  *\([^ ]*\) *$/\1/
   10425 	      p
   10426 	  }
   10427       }'
   10428   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10429   # Check for a 64-bit object if we didn't find anything.
   10430   if test -z "$lt_cv_aix_libpath_"; then
   10431     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10432   fi
   10433 fi
   10434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10435     conftest$ac_exeext conftest.$ac_ext
   10436   if test -z "$lt_cv_aix_libpath_"; then
   10437     lt_cv_aix_libpath_=/usr/lib:/lib
   10438   fi
   10439    ;;
   10440 esac
   10441 fi
   10442 
   10443   aix_libpath=$lt_cv_aix_libpath_
   10444 fi
   10445 
   10446         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10447         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
   10448       else
   10449 	if test ia64 = "$host_cpu"; then
   10450 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10451 	  allow_undefined_flag="-z nodefs"
   10452 	  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"
   10453 	else
   10454 	 # Determine the default libpath from the value encoded in an
   10455 	 # empty executable.
   10456 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10457   aix_libpath=$lt_cv_aix_libpath
   10458 else
   10459   if test ${lt_cv_aix_libpath_+y}
   10460 then :
   10461   printf %s "(cached) " >&6
   10462 else case e in #(
   10463   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10464 /* end confdefs.h.  */
   10465 
   10466 int
   10467 main (void)
   10468 {
   10469 
   10470   ;
   10471   return 0;
   10472 }
   10473 _ACEOF
   10474 if ac_fn_c_try_link "$LINENO"
   10475 then :
   10476 
   10477   lt_aix_libpath_sed='
   10478       /Import File Strings/,/^$/ {
   10479 	  /^0/ {
   10480 	      s/^0  *\([^ ]*\) *$/\1/
   10481 	      p
   10482 	  }
   10483       }'
   10484   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10485   # Check for a 64-bit object if we didn't find anything.
   10486   if test -z "$lt_cv_aix_libpath_"; then
   10487     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10488   fi
   10489 fi
   10490 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10491     conftest$ac_exeext conftest.$ac_ext
   10492   if test -z "$lt_cv_aix_libpath_"; then
   10493     lt_cv_aix_libpath_=/usr/lib:/lib
   10494   fi
   10495    ;;
   10496 esac
   10497 fi
   10498 
   10499   aix_libpath=$lt_cv_aix_libpath_
   10500 fi
   10501 
   10502 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10503 	  # Warning - without using the other run time loading flags,
   10504 	  # -berok will link without error, but may produce a broken library.
   10505 	  no_undefined_flag=' $wl-bernotok'
   10506 	  allow_undefined_flag=' $wl-berok'
   10507 	  if test yes = "$with_gnu_ld"; then
   10508 	    # We only use this code for GNU lds that support --whole-archive.
   10509 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10510 	  else
   10511 	    # Exported symbols can be pulled into shared objects from archives
   10512 	    whole_archive_flag_spec='$convenience'
   10513 	  fi
   10514 	  archive_cmds_need_lc=yes
   10515 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10516 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10517 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10518 	  if test svr4 != "$with_aix_soname"; then
   10519 	    # This is similar to how AIX traditionally builds its shared libraries.
   10520 	    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'
   10521 	  fi
   10522 	  if test aix != "$with_aix_soname"; then
   10523 	    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'
   10524 	  else
   10525 	    # used by -dlpreopen to get the symbols
   10526 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10527 	  fi
   10528 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10529 	fi
   10530       fi
   10531       ;;
   10532 
   10533     amigaos*)
   10534       case $host_cpu in
   10535       powerpc)
   10536             # see comment about AmigaOS4 .so support
   10537             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10538             archive_expsym_cmds=''
   10539         ;;
   10540       m68k)
   10541             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)'
   10542             hardcode_libdir_flag_spec='-L$libdir'
   10543             hardcode_minus_L=yes
   10544         ;;
   10545       esac
   10546       ;;
   10547 
   10548     bsdi[45]*)
   10549       export_dynamic_flag_spec=-rdynamic
   10550       ;;
   10551 
   10552     cygwin* | mingw* | windows* | pw32* | cegcc*)
   10553       # When not using gcc, we currently assume that we are using
   10554       # Microsoft Visual C++ or Intel C++ Compiler.
   10555       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10556       # no search path for DLLs.
   10557       case $cc_basename in
   10558       cl* | icl*)
   10559 	# Native MSVC or ICC
   10560 	hardcode_libdir_flag_spec=' '
   10561 	allow_undefined_flag=unsupported
   10562 	always_export_symbols=yes
   10563 	file_list_spec='@'
   10564 	# Tell ltmain to make .lib files, not .a files.
   10565 	libext=lib
   10566 	# Tell ltmain to make .dll files, not .so files.
   10567 	shrext_cmds=.dll
   10568 	# FIXME: Setting linknames here is a bad hack.
   10569 	archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10570 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10571             cp "$export_symbols" "$output_objdir/$soname.def";
   10572             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10573           else
   10574             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10575           fi~
   10576           $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10577           linknames='
   10578 	# The linker will not automatically build a static lib if we build a DLL.
   10579 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10580 	enable_shared_with_static_runtimes=yes
   10581 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10582 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10583 	# Don't use ranlib
   10584 	old_postinstall_cmds='chmod 644 $oldlib'
   10585 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10586           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10587           case $lt_outputfile in
   10588             *.exe|*.EXE) ;;
   10589             *)
   10590               lt_outputfile=$lt_outputfile.exe
   10591               lt_tool_outputfile=$lt_tool_outputfile.exe
   10592               ;;
   10593           esac~
   10594           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10595             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10596             $RM "$lt_outputfile.manifest";
   10597           fi'
   10598 	;;
   10599       *)
   10600 	# Assume MSVC and ICC wrapper
   10601 	hardcode_libdir_flag_spec=' '
   10602 	allow_undefined_flag=unsupported
   10603 	# Tell ltmain to make .lib files, not .a files.
   10604 	libext=lib
   10605 	# Tell ltmain to make .dll files, not .so files.
   10606 	shrext_cmds=.dll
   10607 	# FIXME: Setting linknames here is a bad hack.
   10608 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10609 	# The linker will automatically build a .lib file if we build a DLL.
   10610 	old_archive_from_new_cmds='true'
   10611 	# FIXME: Should let the user specify the lib program.
   10612 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10613 	enable_shared_with_static_runtimes=yes
   10614 	;;
   10615       esac
   10616       ;;
   10617 
   10618     darwin* | rhapsody*)
   10619 
   10620 
   10621   archive_cmds_need_lc=no
   10622   hardcode_direct=no
   10623   hardcode_automatic=yes
   10624   hardcode_shlibpath_var=unsupported
   10625   if test yes = "$lt_cv_ld_force_load"; then
   10626     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\"`'
   10627 
   10628   else
   10629     whole_archive_flag_spec=''
   10630   fi
   10631   link_all_deplibs=yes
   10632   allow_undefined_flag=$_lt_dar_allow_undefined
   10633   case $cc_basename in
   10634      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10635      *) _lt_dar_can_shared=$GCC ;;
   10636   esac
   10637   if test yes = "$_lt_dar_can_shared"; then
   10638     output_verbose_link_cmd=func_echo_all
   10639     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10640     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10641     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"
   10642     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"
   10643 
   10644   else
   10645   ld_shlibs=no
   10646   fi
   10647 
   10648       ;;
   10649 
   10650     dgux*)
   10651       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10652       hardcode_libdir_flag_spec='-L$libdir'
   10653       hardcode_shlibpath_var=no
   10654       ;;
   10655 
   10656     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10657     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10658     # does not break anything, and helps significantly (at the cost of a little
   10659     # extra space).
   10660     freebsd2.2*)
   10661       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10662       hardcode_libdir_flag_spec='-R$libdir'
   10663       hardcode_direct=yes
   10664       hardcode_shlibpath_var=no
   10665       ;;
   10666 
   10667     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10668     freebsd2.*)
   10669       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10670       hardcode_direct=yes
   10671       hardcode_minus_L=yes
   10672       hardcode_shlibpath_var=no
   10673       ;;
   10674 
   10675     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10676     freebsd* | dragonfly* | midnightbsd*)
   10677       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10678       hardcode_libdir_flag_spec='-R$libdir'
   10679       hardcode_direct=yes
   10680       hardcode_shlibpath_var=no
   10681       ;;
   10682 
   10683     hpux9*)
   10684       if test yes = "$GCC"; then
   10685 	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'
   10686       else
   10687 	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'
   10688       fi
   10689       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10690       hardcode_libdir_separator=:
   10691       hardcode_direct=yes
   10692 
   10693       # hardcode_minus_L: Not really in the search PATH,
   10694       # but as the default location of the library.
   10695       hardcode_minus_L=yes
   10696       export_dynamic_flag_spec='$wl-E'
   10697       ;;
   10698 
   10699     hpux10*)
   10700       if test yes,no = "$GCC,$with_gnu_ld"; then
   10701 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10702       else
   10703 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10704       fi
   10705       if test no = "$with_gnu_ld"; then
   10706 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10707 	hardcode_libdir_separator=:
   10708 	hardcode_direct=yes
   10709 	hardcode_direct_absolute=yes
   10710 	export_dynamic_flag_spec='$wl-E'
   10711 	# hardcode_minus_L: Not really in the search PATH,
   10712 	# but as the default location of the library.
   10713 	hardcode_minus_L=yes
   10714       fi
   10715       ;;
   10716 
   10717     hpux11*)
   10718       if test yes,no = "$GCC,$with_gnu_ld"; then
   10719 	case $host_cpu in
   10720 	hppa*64*)
   10721 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10722 	  ;;
   10723 	ia64*)
   10724 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10725 	  ;;
   10726 	*)
   10727 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10728 	  ;;
   10729 	esac
   10730       else
   10731 	case $host_cpu in
   10732 	hppa*64*)
   10733 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10734 	  ;;
   10735 	ia64*)
   10736 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10737 	  ;;
   10738 	*)
   10739 
   10740 	  # Older versions of the 11.00 compiler do not understand -b yet
   10741 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10742 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10743 printf %s "checking if $CC understands -b... " >&6; }
   10744 if test ${lt_cv_prog_compiler__b+y}
   10745 then :
   10746   printf %s "(cached) " >&6
   10747 else case e in #(
   10748   e) lt_cv_prog_compiler__b=no
   10749    save_LDFLAGS=$LDFLAGS
   10750    LDFLAGS="$LDFLAGS -b"
   10751    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10752    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10753      # The linker can only warn and ignore the option if not recognized
   10754      # So say no if there are warnings
   10755      if test -s conftest.err; then
   10756        # Append any errors to the config.log.
   10757        cat conftest.err 1>&5
   10758        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10759        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10760        if diff conftest.exp conftest.er2 >/dev/null; then
   10761          lt_cv_prog_compiler__b=yes
   10762        fi
   10763      else
   10764        lt_cv_prog_compiler__b=yes
   10765      fi
   10766    fi
   10767    $RM -r conftest*
   10768    LDFLAGS=$save_LDFLAGS
   10769  ;;
   10770 esac
   10771 fi
   10772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10773 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10774 
   10775 if test yes = "$lt_cv_prog_compiler__b"; then
   10776     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10777 else
   10778     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10779 fi
   10780 
   10781 	  ;;
   10782 	esac
   10783       fi
   10784       if test no = "$with_gnu_ld"; then
   10785 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10786 	hardcode_libdir_separator=:
   10787 
   10788 	case $host_cpu in
   10789 	hppa*64*|ia64*)
   10790 	  hardcode_direct=no
   10791 	  hardcode_shlibpath_var=no
   10792 	  ;;
   10793 	*)
   10794 	  hardcode_direct=yes
   10795 	  hardcode_direct_absolute=yes
   10796 	  export_dynamic_flag_spec='$wl-E'
   10797 
   10798 	  # hardcode_minus_L: Not really in the search PATH,
   10799 	  # but as the default location of the library.
   10800 	  hardcode_minus_L=yes
   10801 	  ;;
   10802 	esac
   10803       fi
   10804       ;;
   10805 
   10806     irix5* | irix6* | nonstopux*)
   10807       if test yes = "$GCC"; then
   10808 	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'
   10809 	# Try to use the -exported_symbol ld option, if it does not
   10810 	# work, assume that -exports_file does not work either and
   10811 	# implicitly export all symbols.
   10812 	# This should be the same for all languages, so no per-tag cache variable.
   10813 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10814 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10815 if test ${lt_cv_irix_exported_symbol+y}
   10816 then :
   10817   printf %s "(cached) " >&6
   10818 else case e in #(
   10819   e) save_LDFLAGS=$LDFLAGS
   10820 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10821 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10822 /* end confdefs.h.  */
   10823 int foo (void) { return 0; }
   10824 _ACEOF
   10825 if ac_fn_c_try_link "$LINENO"
   10826 then :
   10827   lt_cv_irix_exported_symbol=yes
   10828 else case e in #(
   10829   e) lt_cv_irix_exported_symbol=no ;;
   10830 esac
   10831 fi
   10832 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10833     conftest$ac_exeext conftest.$ac_ext
   10834            LDFLAGS=$save_LDFLAGS ;;
   10835 esac
   10836 fi
   10837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10838 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10839 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10840           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'
   10841 	fi
   10842       else
   10843 	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'
   10844 	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'
   10845       fi
   10846       archive_cmds_need_lc='no'
   10847       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10848       hardcode_libdir_separator=:
   10849       inherit_rpath=yes
   10850       link_all_deplibs=yes
   10851       ;;
   10852 
   10853     linux*)
   10854       case $cc_basename in
   10855       tcc*)
   10856 	# Fabrice Bellard et al's Tiny C Compiler
   10857 	ld_shlibs=yes
   10858 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10859 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10860 	;;
   10861       esac
   10862       ;;
   10863 
   10864     *-mlibc)
   10865       ;;
   10866 
   10867     netbsd* | netbsdelf*-gnu)
   10868       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10869 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10870       else
   10871 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10872       fi
   10873       hardcode_libdir_flag_spec='-R$libdir'
   10874       hardcode_direct=yes
   10875       hardcode_shlibpath_var=no
   10876       ;;
   10877 
   10878     newsos6)
   10879       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10880       hardcode_direct=yes
   10881       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10882       hardcode_libdir_separator=:
   10883       hardcode_shlibpath_var=no
   10884       ;;
   10885 
   10886     *nto* | *qnx*)
   10887       ;;
   10888 
   10889     openbsd*)
   10890       if test -f /usr/libexec/ld.so; then
   10891 	hardcode_direct=yes
   10892 	hardcode_shlibpath_var=no
   10893 	hardcode_direct_absolute=yes
   10894 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10895 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10896 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10897 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10898 	  export_dynamic_flag_spec='$wl-E'
   10899 	else
   10900 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10901 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10902 	fi
   10903       else
   10904 	ld_shlibs=no
   10905       fi
   10906       ;;
   10907 
   10908     os2*)
   10909       hardcode_libdir_flag_spec='-L$libdir'
   10910       hardcode_minus_L=yes
   10911       allow_undefined_flag=unsupported
   10912       shrext_cmds=.dll
   10913       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10914 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10915 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10916 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10917 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10918 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10919 	emximp -o $lib $output_objdir/$libname.def'
   10920       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10921 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10922 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10923 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10924 	prefix_cmds="$SED"~
   10925 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10926 	  prefix_cmds="$prefix_cmds -e 1d";
   10927 	fi~
   10928 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10929 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10930 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10931 	emximp -o $lib $output_objdir/$libname.def'
   10932       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10933       enable_shared_with_static_runtimes=yes
   10934       file_list_spec='@'
   10935       ;;
   10936 
   10937     osf3*)
   10938       if test yes = "$GCC"; then
   10939 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10940 	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'
   10941       else
   10942 	allow_undefined_flag=' -expect_unresolved \*'
   10943 	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'
   10944       fi
   10945       archive_cmds_need_lc='no'
   10946       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10947       hardcode_libdir_separator=:
   10948       ;;
   10949 
   10950     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10951       if test yes = "$GCC"; then
   10952 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10953 	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'
   10954 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10955       else
   10956 	allow_undefined_flag=' -expect_unresolved \*'
   10957 	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'
   10958 	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~
   10959           $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'
   10960 
   10961 	# Both c and cxx compiler support -rpath directly
   10962 	hardcode_libdir_flag_spec='-rpath $libdir'
   10963       fi
   10964       archive_cmds_need_lc='no'
   10965       hardcode_libdir_separator=:
   10966       ;;
   10967 
   10968     serenity*)
   10969       ;;
   10970 
   10971     solaris*)
   10972       no_undefined_flag=' -z defs'
   10973       if test yes = "$GCC"; then
   10974 	wlarc='$wl'
   10975 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10976 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10977           $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'
   10978       else
   10979 	case `$CC -V 2>&1` in
   10980 	*"Compilers 5.0"*)
   10981 	  wlarc=''
   10982 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10983 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10984             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10985 	  ;;
   10986 	*)
   10987 	  wlarc='$wl'
   10988 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10989 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10990             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10991 	  ;;
   10992 	esac
   10993       fi
   10994       hardcode_libdir_flag_spec='-R$libdir'
   10995       hardcode_shlibpath_var=no
   10996       case $host_os in
   10997       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10998       *)
   10999 	# The compiler driver will combine and reorder linker options,
   11000 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11001 	# but is careful enough not to reorder.
   11002 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11003 	if test yes = "$GCC"; then
   11004 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11005 	else
   11006 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11007 	fi
   11008 	;;
   11009       esac
   11010       link_all_deplibs=yes
   11011       ;;
   11012 
   11013     sunos4*)
   11014       if test sequent = "$host_vendor"; then
   11015 	# Use $CC to link under sequent, because it throws in some extra .o
   11016 	# files that make .init and .fini sections work.
   11017 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11018       else
   11019 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11020       fi
   11021       hardcode_libdir_flag_spec='-L$libdir'
   11022       hardcode_direct=yes
   11023       hardcode_minus_L=yes
   11024       hardcode_shlibpath_var=no
   11025       ;;
   11026 
   11027     sysv4)
   11028       case $host_vendor in
   11029 	sni)
   11030 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11031 	  hardcode_direct=yes # is this really true???
   11032 	;;
   11033 	siemens)
   11034 	  ## LD is ld it makes a PLAMLIB
   11035 	  ## CC just makes a GrossModule.
   11036 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11037 	  reload_cmds='$CC -r -o $output$reload_objs'
   11038 	  hardcode_direct=no
   11039         ;;
   11040 	motorola)
   11041 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11042 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11043 	;;
   11044       esac
   11045       runpath_var='LD_RUN_PATH'
   11046       hardcode_shlibpath_var=no
   11047       ;;
   11048 
   11049     sysv4.3*)
   11050       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11051       hardcode_shlibpath_var=no
   11052       export_dynamic_flag_spec='-Bexport'
   11053       ;;
   11054 
   11055     sysv4*MP*)
   11056       if test -d /usr/nec; then
   11057 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11058 	hardcode_shlibpath_var=no
   11059 	runpath_var=LD_RUN_PATH
   11060 	hardcode_runpath_var=yes
   11061 	ld_shlibs=yes
   11062       fi
   11063       ;;
   11064 
   11065     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11066       no_undefined_flag='$wl-z,text'
   11067       archive_cmds_need_lc=no
   11068       hardcode_shlibpath_var=no
   11069       runpath_var='LD_RUN_PATH'
   11070 
   11071       if test yes = "$GCC"; then
   11072 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11073 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11074       else
   11075 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11076 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11077       fi
   11078       ;;
   11079 
   11080     sysv5* | sco3.2v5* | sco5v6*)
   11081       # Note: We CANNOT use -z defs as we might desire, because we do not
   11082       # link with -lc, and that would cause any symbols used from libc to
   11083       # always be unresolved, which means just about no library would
   11084       # ever link correctly.  If we're not using GNU ld we use -z text
   11085       # though, which does catch some bad symbols but isn't as heavy-handed
   11086       # as -z defs.
   11087       no_undefined_flag='$wl-z,text'
   11088       allow_undefined_flag='$wl-z,nodefs'
   11089       archive_cmds_need_lc=no
   11090       hardcode_shlibpath_var=no
   11091       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11092       hardcode_libdir_separator=':'
   11093       link_all_deplibs=yes
   11094       export_dynamic_flag_spec='$wl-Bexport'
   11095       runpath_var='LD_RUN_PATH'
   11096 
   11097       if test yes = "$GCC"; then
   11098 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11099 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11100       else
   11101 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11102 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11103       fi
   11104       ;;
   11105 
   11106     uts4*)
   11107       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11108       hardcode_libdir_flag_spec='-L$libdir'
   11109       hardcode_shlibpath_var=no
   11110       ;;
   11111 
   11112     *)
   11113       ld_shlibs=no
   11114       ;;
   11115     esac
   11116 
   11117     if test sni = "$host_vendor"; then
   11118       case $host in
   11119       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11120 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11121 	;;
   11122       esac
   11123     fi
   11124   fi
   11125 
   11126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11127 printf "%s\n" "$ld_shlibs" >&6; }
   11128 test no = "$ld_shlibs" && can_build_shared=no
   11129 
   11130 with_gnu_ld=$with_gnu_ld
   11131 
   11132 
   11133 
   11134 
   11135 
   11136 
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 
   11143 
   11144 
   11145 
   11146 #
   11147 # Do we need to explicitly link libc?
   11148 #
   11149 case "x$archive_cmds_need_lc" in
   11150 x|xyes)
   11151   # Assume -lc should be added
   11152   archive_cmds_need_lc=yes
   11153 
   11154   if test yes,yes = "$GCC,$enable_shared"; then
   11155     case $archive_cmds in
   11156     *'~'*)
   11157       # FIXME: we may have to deal with multi-command sequences.
   11158       ;;
   11159     '$CC '*)
   11160       # Test whether the compiler implicitly links with -lc since on some
   11161       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11162       # to ld, don't add -lc before -lgcc.
   11163       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11164 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11165 if test ${lt_cv_archive_cmds_need_lc+y}
   11166 then :
   11167   printf %s "(cached) " >&6
   11168 else case e in #(
   11169   e) $RM conftest*
   11170 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11171 
   11172 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11173   (eval $ac_compile) 2>&5
   11174   ac_status=$?
   11175   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11176   test $ac_status = 0; } 2>conftest.err; then
   11177 	  soname=conftest
   11178 	  lib=conftest
   11179 	  libobjs=conftest.$ac_objext
   11180 	  deplibs=
   11181 	  wl=$lt_prog_compiler_wl
   11182 	  pic_flag=$lt_prog_compiler_pic
   11183 	  compiler_flags=-v
   11184 	  linker_flags=-v
   11185 	  verstring=
   11186 	  output_objdir=.
   11187 	  libname=conftest
   11188 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11189 	  allow_undefined_flag=
   11190 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11191   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11192   ac_status=$?
   11193   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11194   test $ac_status = 0; }
   11195 	  then
   11196 	    lt_cv_archive_cmds_need_lc=no
   11197 	  else
   11198 	    lt_cv_archive_cmds_need_lc=yes
   11199 	  fi
   11200 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11201 	else
   11202 	  cat conftest.err 1>&5
   11203 	fi
   11204 	$RM conftest*
   11205 	 ;;
   11206 esac
   11207 fi
   11208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11209 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11210       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11211       ;;
   11212     esac
   11213   fi
   11214   ;;
   11215 esac
   11216 
   11217 
   11218 
   11219 
   11220 
   11221 
   11222 
   11223 
   11224 
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 
   11265 
   11266 
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 
   11287 
   11288 
   11289 
   11290 
   11291 
   11292 
   11293 
   11294 
   11295 
   11296 
   11297 
   11298 
   11299 
   11300 
   11301 
   11302 
   11303 
   11304 
   11305 
   11306 
   11307 
   11308 
   11309 
   11310 
   11311 
   11312 
   11313 
   11314 
   11315 
   11316 
   11317 
   11318 
   11319 
   11320 
   11321 
   11322 
   11323 
   11324 
   11325 
   11326 
   11327 
   11328 
   11329 
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 
   11348 
   11349 
   11350 
   11351 
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 
   11364 
   11365 
   11366 
   11367 
   11368   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11369 printf %s "checking dynamic linker characteristics... " >&6; }
   11370 
   11371 if test yes = "$GCC"; then
   11372   case $host_os in
   11373     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11374     *) lt_awk_arg='/^libraries:/' ;;
   11375   esac
   11376   case $host_os in
   11377     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11378     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11379   esac
   11380   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11381   case $lt_search_path_spec in
   11382   *\;*)
   11383     # if the path contains ";" then we assume it to be the separator
   11384     # otherwise default to the standard path separator (i.e. ":") - it is
   11385     # assumed that no part of a normal pathname contains ";" but that should
   11386     # okay in the real world where ";" in dirpaths is itself problematic.
   11387     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11388     ;;
   11389   *)
   11390     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11391     ;;
   11392   esac
   11393   # Ok, now we have the path, separated by spaces, we can step through it
   11394   # and add multilib dir if necessary...
   11395   lt_tmp_lt_search_path_spec=
   11396   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11397   # ...but if some path component already ends with the multilib dir we assume
   11398   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11399   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11400   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11401     lt_multi_os_dir=
   11402     ;;
   11403   esac
   11404   for lt_sys_path in $lt_search_path_spec; do
   11405     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11406       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11407     elif test -n "$lt_multi_os_dir"; then
   11408       test -d "$lt_sys_path" && \
   11409 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11410     fi
   11411   done
   11412   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11413 BEGIN {RS = " "; FS = "/|\n";} {
   11414   lt_foo = "";
   11415   lt_count = 0;
   11416   for (lt_i = NF; lt_i > 0; lt_i--) {
   11417     if ($lt_i != "" && $lt_i != ".") {
   11418       if ($lt_i == "..") {
   11419         lt_count++;
   11420       } else {
   11421         if (lt_count == 0) {
   11422           lt_foo = "/" $lt_i lt_foo;
   11423         } else {
   11424           lt_count--;
   11425         }
   11426       }
   11427     }
   11428   }
   11429   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11430   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11431 }'`
   11432   # AWK program above erroneously prepends '/' to C:/dos/paths
   11433   # for these hosts.
   11434   case $host_os in
   11435     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11436       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11437   esac
   11438   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11439 else
   11440   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11441 fi
   11442 library_names_spec=
   11443 libname_spec='lib$name'
   11444 soname_spec=
   11445 shrext_cmds=.so
   11446 postinstall_cmds=
   11447 postuninstall_cmds=
   11448 finish_cmds=
   11449 finish_eval=
   11450 shlibpath_var=
   11451 shlibpath_overrides_runpath=unknown
   11452 version_type=none
   11453 dynamic_linker="$host_os ld.so"
   11454 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11455 need_lib_prefix=unknown
   11456 hardcode_into_libs=no
   11457 
   11458 # when you set need_version to no, make sure it does not cause -set_version
   11459 # flags to be left without arguments
   11460 need_version=unknown
   11461 
   11462 
   11463 
   11464 case $host_os in
   11465 aix3*)
   11466   version_type=linux # correct to gnu/linux during the next big refactor
   11467   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11468   shlibpath_var=LIBPATH
   11469 
   11470   # AIX 3 has no versioning support, so we append a major version to the name.
   11471   soname_spec='$libname$release$shared_ext$major'
   11472   ;;
   11473 
   11474 aix[4-9]*)
   11475   version_type=linux # correct to gnu/linux during the next big refactor
   11476   need_lib_prefix=no
   11477   need_version=no
   11478   hardcode_into_libs=yes
   11479   if test ia64 = "$host_cpu"; then
   11480     # AIX 5 supports IA64
   11481     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11482     shlibpath_var=LD_LIBRARY_PATH
   11483   else
   11484     # With GCC up to 2.95.x, collect2 would create an import file
   11485     # for dependence libraries.  The import file would start with
   11486     # the line '#! .'.  This would cause the generated library to
   11487     # depend on '.', always an invalid library.  This was fixed in
   11488     # development snapshots of GCC prior to 3.0.
   11489     case $host_os in
   11490       aix4 | aix4.[01] | aix4.[01].*)
   11491       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11492 	   echo ' yes '
   11493 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11494 	:
   11495       else
   11496 	can_build_shared=no
   11497       fi
   11498       ;;
   11499     esac
   11500     # Using Import Files as archive members, it is possible to support
   11501     # filename-based versioning of shared library archives on AIX. While
   11502     # this would work for both with and without runtime linking, it will
   11503     # prevent static linking of such archives. So we do filename-based
   11504     # shared library versioning with .so extension only, which is used
   11505     # when both runtime linking and shared linking is enabled.
   11506     # Unfortunately, runtime linking may impact performance, so we do
   11507     # not want this to be the default eventually. Also, we use the
   11508     # versioned .so libs for executables only if there is the -brtl
   11509     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   11510     # To allow for filename-based versioning support, we need to create
   11511     # libNAME.so.V as an archive file, containing:
   11512     # *) an Import File, referring to the versioned filename of the
   11513     #    archive as well as the shared archive member, telling the
   11514     #    bitwidth (32 or 64) of that shared object, and providing the
   11515     #    list of exported symbols of that shared object, eventually
   11516     #    decorated with the 'weak' keyword
   11517     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11518     #    it being seen by the linker.
   11519     # At run time we better use the real file rather than another symlink,
   11520     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11521 
   11522     case $with_aix_soname,$aix_use_runtimelinking in
   11523     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11524     # soname into executable. Probably we can add versioning support to
   11525     # collect2, so additional links can be useful in future.
   11526     aix,yes) # traditional libtool
   11527       dynamic_linker='AIX unversionable lib.so'
   11528       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11529       # instead of lib<name>.a to let people know that these are not
   11530       # typical AIX shared libraries.
   11531       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11532       ;;
   11533     aix,no) # traditional AIX only
   11534       dynamic_linker='AIX lib.a(lib.so.V)'
   11535       # We preserve .a as extension for shared libraries through AIX4.2
   11536       # and later when we are not doing run time linking.
   11537       library_names_spec='$libname$release.a $libname.a'
   11538       soname_spec='$libname$release$shared_ext$major'
   11539       ;;
   11540     svr4,*) # full svr4 only
   11541       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11542       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11543       # We do not specify a path in Import Files, so LIBPATH fires.
   11544       shlibpath_overrides_runpath=yes
   11545       ;;
   11546     *,yes) # both, prefer svr4
   11547       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11548       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11549       # unpreferred sharedlib libNAME.a needs extra handling
   11550       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"'
   11551       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"'
   11552       # We do not specify a path in Import Files, so LIBPATH fires.
   11553       shlibpath_overrides_runpath=yes
   11554       ;;
   11555     *,no) # both, prefer aix
   11556       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11557       library_names_spec='$libname$release.a $libname.a'
   11558       soname_spec='$libname$release$shared_ext$major'
   11559       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11560       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)'
   11561       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"'
   11562       ;;
   11563     esac
   11564     shlibpath_var=LIBPATH
   11565   fi
   11566   ;;
   11567 
   11568 amigaos*)
   11569   case $host_cpu in
   11570   powerpc)
   11571     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11572     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11573     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11574     ;;
   11575   m68k)
   11576     library_names_spec='$libname.ixlibrary $libname.a'
   11577     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11578     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'
   11579     ;;
   11580   esac
   11581   ;;
   11582 
   11583 beos*)
   11584   library_names_spec='$libname$shared_ext'
   11585   dynamic_linker="$host_os ld.so"
   11586   shlibpath_var=LIBRARY_PATH
   11587   ;;
   11588 
   11589 bsdi[45]*)
   11590   version_type=linux # correct to gnu/linux during the next big refactor
   11591   need_version=no
   11592   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11593   soname_spec='$libname$release$shared_ext$major'
   11594   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11595   shlibpath_var=LD_LIBRARY_PATH
   11596   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11597   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11598   # the default ld.so.conf also contains /usr/contrib/lib and
   11599   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11600   # libtool to hard-code these into programs
   11601   ;;
   11602 
   11603 cygwin* | mingw* | windows* | pw32* | cegcc*)
   11604   version_type=windows
   11605   shrext_cmds=.dll
   11606   need_version=no
   11607   need_lib_prefix=no
   11608 
   11609   case $GCC,$cc_basename in
   11610   yes,*)
   11611     # gcc
   11612     library_names_spec='$libname.dll.a'
   11613     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11614     # If user builds GCC with multilib enabled,
   11615     # it should just install on $(libdir)
   11616     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   11617     if test xyes = x"$multilib"; then
   11618       postinstall_cmds='base_file=`basename \$file`~
   11619         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11620         dldir=$destdir/`dirname \$dlpath`~
   11621         $install_prog $dir/$dlname $destdir/$dlname~
   11622         chmod a+x $destdir/$dlname~
   11623         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11624           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   11625         fi'
   11626     else
   11627       postinstall_cmds='base_file=`basename \$file`~
   11628         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11629         dldir=$destdir/`dirname \$dlpath`~
   11630         test -d \$dldir || mkdir -p \$dldir~
   11631         $install_prog $dir/$dlname \$dldir/$dlname~
   11632         chmod a+x \$dldir/$dlname~
   11633         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11634           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11635         fi'
   11636     fi
   11637     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11638       dlpath=$dir/\$dldll~
   11639        $RM \$dlpath'
   11640     shlibpath_overrides_runpath=yes
   11641 
   11642     case $host_os in
   11643     cygwin*)
   11644       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11645       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11646 
   11647       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11648       ;;
   11649     mingw* | windows* | cegcc*)
   11650       # MinGW DLLs use traditional 'lib' prefix
   11651       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11652       ;;
   11653     pw32*)
   11654       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11655       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11656       ;;
   11657     esac
   11658     dynamic_linker='Win32 ld.exe'
   11659     ;;
   11660 
   11661   *,cl* | *,icl*)
   11662     # Native MSVC or ICC
   11663     libname_spec='$name'
   11664     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11665     library_names_spec='$libname.dll.lib'
   11666 
   11667     case $build_os in
   11668     mingw* | windows*)
   11669       sys_lib_search_path_spec=
   11670       lt_save_ifs=$IFS
   11671       IFS=';'
   11672       for lt_path in $LIB
   11673       do
   11674         IFS=$lt_save_ifs
   11675         # Let DOS variable expansion print the short 8.3 style file name.
   11676         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11677         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11678       done
   11679       IFS=$lt_save_ifs
   11680       # Convert to MSYS style.
   11681       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11682       ;;
   11683     cygwin*)
   11684       # Convert to unix form, then to dos form, then back to unix form
   11685       # but this time dos style (no spaces!) so that the unix form looks
   11686       # like /cygdrive/c/PROGRA~1:/cygdr...
   11687       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11688       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11689       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11690       ;;
   11691     *)
   11692       sys_lib_search_path_spec=$LIB
   11693       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11694         # It is most probably a Windows format PATH.
   11695         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11696       else
   11697         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11698       fi
   11699       # FIXME: find the short name or the path components, as spaces are
   11700       # common. (e.g. "Program Files" -> "PROGRA~1")
   11701       ;;
   11702     esac
   11703 
   11704     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11705     postinstall_cmds='base_file=`basename \$file`~
   11706       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11707       dldir=$destdir/`dirname \$dlpath`~
   11708       test -d \$dldir || mkdir -p \$dldir~
   11709       $install_prog $dir/$dlname \$dldir/$dlname'
   11710     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11711       dlpath=$dir/\$dldll~
   11712        $RM \$dlpath'
   11713     shlibpath_overrides_runpath=yes
   11714     dynamic_linker='Win32 link.exe'
   11715     ;;
   11716 
   11717   *)
   11718     # Assume MSVC and ICC wrapper
   11719     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11720     dynamic_linker='Win32 ld.exe'
   11721     ;;
   11722   esac
   11723   # FIXME: first we should search . and the directory the executable is in
   11724   shlibpath_var=PATH
   11725   ;;
   11726 
   11727 darwin* | rhapsody*)
   11728   dynamic_linker="$host_os dyld"
   11729   version_type=darwin
   11730   need_lib_prefix=no
   11731   need_version=no
   11732   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11733   soname_spec='$libname$release$major$shared_ext'
   11734   shlibpath_overrides_runpath=yes
   11735   shlibpath_var=DYLD_LIBRARY_PATH
   11736   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11737 
   11738   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11739   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11740   ;;
   11741 
   11742 dgux*)
   11743   version_type=linux # correct to gnu/linux during the next big refactor
   11744   need_lib_prefix=no
   11745   need_version=no
   11746   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11747   soname_spec='$libname$release$shared_ext$major'
   11748   shlibpath_var=LD_LIBRARY_PATH
   11749   ;;
   11750 
   11751 freebsd* | dragonfly* | midnightbsd*)
   11752   # DragonFly does not have aout.  When/if they implement a new
   11753   # versioning mechanism, adjust this.
   11754   if test -x /usr/bin/objformat; then
   11755     objformat=`/usr/bin/objformat`
   11756   else
   11757     case $host_os in
   11758     freebsd[23].*) objformat=aout ;;
   11759     *) objformat=elf ;;
   11760     esac
   11761   fi
   11762   version_type=freebsd-$objformat
   11763   case $version_type in
   11764     freebsd-elf*)
   11765       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11766       soname_spec='$libname$release$shared_ext$major'
   11767       need_version=no
   11768       need_lib_prefix=no
   11769       ;;
   11770     freebsd-*)
   11771       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11772       need_version=yes
   11773       ;;
   11774   esac
   11775   case $host_cpu in
   11776     powerpc64)
   11777       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   11778       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   11779       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11780 /* end confdefs.h.  */
   11781 int test_pointer_size[sizeof (void *) - 5];
   11782 
   11783 _ACEOF
   11784 if ac_fn_c_try_compile "$LINENO"
   11785 then :
   11786   shlibpath_var=LD_LIBRARY_PATH
   11787 else case e in #(
   11788   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
   11789 esac
   11790 fi
   11791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11792       ;;
   11793     *)
   11794       shlibpath_var=LD_LIBRARY_PATH
   11795       ;;
   11796   esac
   11797   case $host_os in
   11798   freebsd2.*)
   11799     shlibpath_overrides_runpath=yes
   11800     ;;
   11801   freebsd3.[01]* | freebsdelf3.[01]*)
   11802     shlibpath_overrides_runpath=yes
   11803     hardcode_into_libs=yes
   11804     ;;
   11805   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11806   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11807     shlibpath_overrides_runpath=no
   11808     hardcode_into_libs=yes
   11809     ;;
   11810   *) # from 4.6 on, and DragonFly
   11811     shlibpath_overrides_runpath=yes
   11812     hardcode_into_libs=yes
   11813     ;;
   11814   esac
   11815   ;;
   11816 
   11817 haiku*)
   11818   version_type=linux # correct to gnu/linux during the next big refactor
   11819   need_lib_prefix=no
   11820   need_version=no
   11821   dynamic_linker="$host_os runtime_loader"
   11822   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11823   soname_spec='$libname$release$shared_ext$major'
   11824   shlibpath_var=LIBRARY_PATH
   11825   shlibpath_overrides_runpath=no
   11826   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   11827   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   11828   hardcode_into_libs=no
   11829   ;;
   11830 
   11831 hpux9* | hpux10* | hpux11*)
   11832   # Give a soname corresponding to the major version so that dld.sl refuses to
   11833   # link against other versions.
   11834   version_type=sunos
   11835   need_lib_prefix=no
   11836   need_version=no
   11837   case $host_cpu in
   11838   ia64*)
   11839     shrext_cmds='.so'
   11840     hardcode_into_libs=yes
   11841     dynamic_linker="$host_os dld.so"
   11842     shlibpath_var=LD_LIBRARY_PATH
   11843     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11844     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11845     soname_spec='$libname$release$shared_ext$major'
   11846     if test 32 = "$HPUX_IA64_MODE"; then
   11847       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11848       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11849     else
   11850       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11851       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11852     fi
   11853     ;;
   11854   hppa*64*)
   11855     shrext_cmds='.sl'
   11856     hardcode_into_libs=yes
   11857     dynamic_linker="$host_os dld.sl"
   11858     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11859     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11860     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11861     soname_spec='$libname$release$shared_ext$major'
   11862     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11863     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11864     ;;
   11865   *)
   11866     shrext_cmds='.sl'
   11867     dynamic_linker="$host_os dld.sl"
   11868     shlibpath_var=SHLIB_PATH
   11869     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11870     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11871     soname_spec='$libname$release$shared_ext$major'
   11872     ;;
   11873   esac
   11874   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11875   postinstall_cmds='chmod 555 $lib'
   11876   # or fails outright, so override atomically:
   11877   install_override_mode=555
   11878   ;;
   11879 
   11880 interix[3-9]*)
   11881   version_type=linux # correct to gnu/linux during the next big refactor
   11882   need_lib_prefix=no
   11883   need_version=no
   11884   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11885   soname_spec='$libname$release$shared_ext$major'
   11886   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11887   shlibpath_var=LD_LIBRARY_PATH
   11888   shlibpath_overrides_runpath=no
   11889   hardcode_into_libs=yes
   11890   ;;
   11891 
   11892 irix5* | irix6* | nonstopux*)
   11893   case $host_os in
   11894     nonstopux*) version_type=nonstopux ;;
   11895     *)
   11896 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11897 		version_type=linux # correct to gnu/linux during the next big refactor
   11898 	else
   11899 		version_type=irix
   11900 	fi ;;
   11901   esac
   11902   need_lib_prefix=no
   11903   need_version=no
   11904   soname_spec='$libname$release$shared_ext$major'
   11905   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11906   case $host_os in
   11907   irix5* | nonstopux*)
   11908     libsuff= shlibsuff=
   11909     ;;
   11910   *)
   11911     case $LD in # libtool.m4 will add one of these switches to LD
   11912     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11913       libsuff= shlibsuff= libmagic=32-bit;;
   11914     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11915       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11916     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11917       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11918     *) libsuff= shlibsuff= libmagic=never-match;;
   11919     esac
   11920     ;;
   11921   esac
   11922   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11923   shlibpath_overrides_runpath=no
   11924   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11925   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11926   hardcode_into_libs=yes
   11927   ;;
   11928 
   11929 # No shared lib support for Linux oldld, aout, or coff.
   11930 linux*oldld* | linux*aout* | linux*coff*)
   11931   dynamic_linker=no
   11932   ;;
   11933 
   11934 linux*android*)
   11935   version_type=none # Android doesn't support versioned libraries.
   11936   need_lib_prefix=no
   11937   need_version=no
   11938   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   11939   soname_spec='$libname$release$shared_ext'
   11940   finish_cmds=
   11941   shlibpath_var=LD_LIBRARY_PATH
   11942   shlibpath_overrides_runpath=yes
   11943 
   11944   # This implies no fast_install, which is unacceptable.
   11945   # Some rework will be needed to allow for fast_install
   11946   # before this can be enabled.
   11947   hardcode_into_libs=yes
   11948 
   11949   dynamic_linker='Android linker'
   11950   # -rpath works at least for libraries that are not overridden by
   11951   # libraries installed in system locations.
   11952   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11953   ;;
   11954 
   11955 # This must be glibc/ELF.
   11956 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11957   version_type=linux # correct to gnu/linux during the next big refactor
   11958   need_lib_prefix=no
   11959   need_version=no
   11960   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11961   soname_spec='$libname$release$shared_ext$major'
   11962   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11963   shlibpath_var=LD_LIBRARY_PATH
   11964   shlibpath_overrides_runpath=no
   11965 
   11966   # Some binutils ld are patched to set DT_RUNPATH
   11967   if test ${lt_cv_shlibpath_overrides_runpath+y}
   11968 then :
   11969   printf %s "(cached) " >&6
   11970 else case e in #(
   11971   e) lt_cv_shlibpath_overrides_runpath=no
   11972     save_LDFLAGS=$LDFLAGS
   11973     save_libdir=$libdir
   11974     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11975 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11976     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11977 /* end confdefs.h.  */
   11978 
   11979 int
   11980 main (void)
   11981 {
   11982 
   11983   ;
   11984   return 0;
   11985 }
   11986 _ACEOF
   11987 if ac_fn_c_try_link "$LINENO"
   11988 then :
   11989   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   11990 then :
   11991   lt_cv_shlibpath_overrides_runpath=yes
   11992 fi
   11993 fi
   11994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11995     conftest$ac_exeext conftest.$ac_ext
   11996     LDFLAGS=$save_LDFLAGS
   11997     libdir=$save_libdir
   11998      ;;
   11999 esac
   12000 fi
   12001 
   12002   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12003 
   12004   # This implies no fast_install, which is unacceptable.
   12005   # Some rework will be needed to allow for fast_install
   12006   # before this can be enabled.
   12007   hardcode_into_libs=yes
   12008 
   12009   # Ideally, we could use ldconfig to report *all* directories which are
   12010   # searched for libraries, however this is still not possible.  Aside from not
   12011   # being certain /sbin/ldconfig is available, command
   12012   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12013   # even though it is searched at run-time.  Try to do the best guess by
   12014   # appending ld.so.conf contents (and includes) to the search path.
   12015   if test -f /etc/ld.so.conf; then
   12016     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' ' '`
   12017     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12018   fi
   12019 
   12020   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12021   # powerpc, because MkLinux only supported shared libraries with the
   12022   # GNU dynamic linker.  Since this was broken with cross compilers,
   12023   # most powerpc-linux boxes support dynamic linking these days and
   12024   # people can always --disable-shared, the test was removed, and we
   12025   # assume the GNU/Linux dynamic linker is in use.
   12026   dynamic_linker='GNU/Linux ld.so'
   12027   ;;
   12028 
   12029 netbsdelf*-gnu)
   12030   version_type=linux
   12031   need_lib_prefix=no
   12032   need_version=no
   12033   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12034   soname_spec='$libname$release$shared_ext$major'
   12035   shlibpath_var=LD_LIBRARY_PATH
   12036   shlibpath_overrides_runpath=no
   12037   hardcode_into_libs=yes
   12038   dynamic_linker='NetBSD ld.elf_so'
   12039   ;;
   12040 
   12041 netbsd*)
   12042   version_type=sunos
   12043   need_lib_prefix=no
   12044   need_version=no
   12045   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12046     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12047     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12048     dynamic_linker='NetBSD (a.out) ld.so'
   12049   else
   12050     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12051     soname_spec='$libname$release$shared_ext$major'
   12052     dynamic_linker='NetBSD ld.elf_so'
   12053   fi
   12054   shlibpath_var=LD_LIBRARY_PATH
   12055   shlibpath_overrides_runpath=yes
   12056   hardcode_into_libs=yes
   12057   ;;
   12058 
   12059 *-mlibc)
   12060   version_type=linux # correct to gnu/linux during the next big refactor
   12061   need_lib_prefix=no
   12062   need_version=no
   12063   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12064   soname_spec='$libname$release$shared_ext$major'
   12065   dynamic_linker='mlibc ld.so'
   12066   shlibpath_var=LD_LIBRARY_PATH
   12067   shlibpath_overrides_runpath=no
   12068   hardcode_into_libs=yes
   12069   ;;
   12070 
   12071 newsos6)
   12072   version_type=linux # correct to gnu/linux during the next big refactor
   12073   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12074   shlibpath_var=LD_LIBRARY_PATH
   12075   shlibpath_overrides_runpath=yes
   12076   ;;
   12077 
   12078 *nto* | *qnx*)
   12079   version_type=qnx
   12080   need_lib_prefix=no
   12081   need_version=no
   12082   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12083   soname_spec='$libname$release$shared_ext$major'
   12084   shlibpath_var=LD_LIBRARY_PATH
   12085   shlibpath_overrides_runpath=no
   12086   hardcode_into_libs=yes
   12087   dynamic_linker='ldqnx.so'
   12088   ;;
   12089 
   12090 openbsd*)
   12091   version_type=sunos
   12092   sys_lib_dlsearch_path_spec=/usr/lib
   12093   need_lib_prefix=no
   12094   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12095     need_version=no
   12096   else
   12097     need_version=yes
   12098   fi
   12099   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12100   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12101   shlibpath_var=LD_LIBRARY_PATH
   12102   shlibpath_overrides_runpath=yes
   12103   ;;
   12104 
   12105 os2*)
   12106   libname_spec='$name'
   12107   version_type=windows
   12108   shrext_cmds=.dll
   12109   need_version=no
   12110   need_lib_prefix=no
   12111   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12112   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12113     v=$($ECHO $release$versuffix | tr -d .-);
   12114     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   12115     $ECHO $n$v`$shared_ext'
   12116   library_names_spec='${libname}_dll.$libext'
   12117   dynamic_linker='OS/2 ld.exe'
   12118   shlibpath_var=BEGINLIBPATH
   12119   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12120   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12121   postinstall_cmds='base_file=`basename \$file`~
   12122     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12123     dldir=$destdir/`dirname \$dlpath`~
   12124     test -d \$dldir || mkdir -p \$dldir~
   12125     $install_prog $dir/$dlname \$dldir/$dlname~
   12126     chmod a+x \$dldir/$dlname~
   12127     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12128       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12129     fi'
   12130   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12131     dlpath=$dir/\$dldll~
   12132     $RM \$dlpath'
   12133   ;;
   12134 
   12135 osf3* | osf4* | osf5*)
   12136   version_type=osf
   12137   need_lib_prefix=no
   12138   need_version=no
   12139   soname_spec='$libname$release$shared_ext$major'
   12140   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12141   shlibpath_var=LD_LIBRARY_PATH
   12142   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12143   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12144   ;;
   12145 
   12146 rdos*)
   12147   dynamic_linker=no
   12148   ;;
   12149 
   12150 serenity*)
   12151   version_type=linux # correct to gnu/linux during the next big refactor
   12152   need_lib_prefix=no
   12153   need_version=no
   12154   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12155   soname_spec='$libname$release$shared_ext$major'
   12156   shlibpath_var=LD_LIBRARY_PATH
   12157   shlibpath_overrides_runpath=no
   12158   dynamic_linker='SerenityOS LibELF'
   12159   ;;
   12160 
   12161 solaris*)
   12162   version_type=linux # correct to gnu/linux during the next big refactor
   12163   need_lib_prefix=no
   12164   need_version=no
   12165   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12166   soname_spec='$libname$release$shared_ext$major'
   12167   shlibpath_var=LD_LIBRARY_PATH
   12168   shlibpath_overrides_runpath=yes
   12169   hardcode_into_libs=yes
   12170   # ldd complains unless libraries are executable
   12171   postinstall_cmds='chmod +x $lib'
   12172   ;;
   12173 
   12174 sunos4*)
   12175   version_type=sunos
   12176   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12177   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12178   shlibpath_var=LD_LIBRARY_PATH
   12179   shlibpath_overrides_runpath=yes
   12180   if test yes = "$with_gnu_ld"; then
   12181     need_lib_prefix=no
   12182   fi
   12183   need_version=yes
   12184   ;;
   12185 
   12186 sysv4 | sysv4.3*)
   12187   version_type=linux # correct to gnu/linux during the next big refactor
   12188   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12189   soname_spec='$libname$release$shared_ext$major'
   12190   shlibpath_var=LD_LIBRARY_PATH
   12191   case $host_vendor in
   12192     sni)
   12193       shlibpath_overrides_runpath=no
   12194       need_lib_prefix=no
   12195       runpath_var=LD_RUN_PATH
   12196       ;;
   12197     siemens)
   12198       need_lib_prefix=no
   12199       ;;
   12200     motorola)
   12201       need_lib_prefix=no
   12202       need_version=no
   12203       shlibpath_overrides_runpath=no
   12204       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12205       ;;
   12206   esac
   12207   ;;
   12208 
   12209 sysv4*MP*)
   12210   if test -d /usr/nec; then
   12211     version_type=linux # correct to gnu/linux during the next big refactor
   12212     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12213     soname_spec='$libname$shared_ext.$major'
   12214     shlibpath_var=LD_LIBRARY_PATH
   12215   fi
   12216   ;;
   12217 
   12218 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12219   version_type=sco
   12220   need_lib_prefix=no
   12221   need_version=no
   12222   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12223   soname_spec='$libname$release$shared_ext$major'
   12224   shlibpath_var=LD_LIBRARY_PATH
   12225   shlibpath_overrides_runpath=yes
   12226   hardcode_into_libs=yes
   12227   if test yes = "$with_gnu_ld"; then
   12228     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12229   else
   12230     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12231     case $host_os in
   12232       sco3.2v5*)
   12233         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12234 	;;
   12235     esac
   12236   fi
   12237   sys_lib_dlsearch_path_spec='/usr/lib'
   12238   ;;
   12239 
   12240 tpf*)
   12241   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12242   version_type=linux # correct to gnu/linux during the next big refactor
   12243   need_lib_prefix=no
   12244   need_version=no
   12245   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12246   shlibpath_var=LD_LIBRARY_PATH
   12247   shlibpath_overrides_runpath=no
   12248   hardcode_into_libs=yes
   12249   ;;
   12250 
   12251 uts4*)
   12252   version_type=linux # correct to gnu/linux during the next big refactor
   12253   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12254   soname_spec='$libname$release$shared_ext$major'
   12255   shlibpath_var=LD_LIBRARY_PATH
   12256   ;;
   12257 
   12258 emscripten*)
   12259   version_type=none
   12260   need_lib_prefix=no
   12261   need_version=no
   12262   library_names_spec='$libname$release$shared_ext'
   12263   soname_spec='$libname$release$shared_ext'
   12264   finish_cmds=
   12265   dynamic_linker="Emscripten linker"
   12266   lt_prog_compiler_wl=
   12267 lt_prog_compiler_pic=
   12268 lt_prog_compiler_static=
   12269 
   12270 
   12271   if test yes = "$GCC"; then
   12272     lt_prog_compiler_wl='-Wl,'
   12273     lt_prog_compiler_static='-static'
   12274 
   12275     case $host_os in
   12276       aix*)
   12277       # All AIX code is PIC.
   12278       if test ia64 = "$host_cpu"; then
   12279 	# AIX 5 now supports IA64 processor
   12280 	lt_prog_compiler_static='-Bstatic'
   12281       fi
   12282       lt_prog_compiler_pic='-fPIC'
   12283       ;;
   12284 
   12285     amigaos*)
   12286       case $host_cpu in
   12287       powerpc)
   12288             # see comment about AmigaOS4 .so support
   12289             lt_prog_compiler_pic='-fPIC'
   12290         ;;
   12291       m68k)
   12292             # FIXME: we need at least 68020 code to build shared libraries, but
   12293             # adding the '-m68020' flag to GCC prevents building anything better,
   12294             # like '-m68040'.
   12295             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   12296         ;;
   12297       esac
   12298       ;;
   12299 
   12300     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12301       # PIC is the default for these OSes.
   12302       ;;
   12303 
   12304     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12305       # This hack is so that the source file can tell whether it is being
   12306       # built for inclusion in a dll (and should export symbols for example).
   12307       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12308       # (--disable-auto-import) libraries
   12309       lt_prog_compiler_pic='-DDLL_EXPORT'
   12310       case $host_os in
   12311       os2*)
   12312 	lt_prog_compiler_static='$wl-static'
   12313 	;;
   12314       esac
   12315       ;;
   12316 
   12317     darwin* | rhapsody*)
   12318       # PIC is the default on this platform
   12319       # Common symbols not allowed in MH_DYLIB files
   12320       lt_prog_compiler_pic='-fno-common'
   12321       ;;
   12322 
   12323     haiku*)
   12324       # PIC is the default for Haiku.
   12325       # The "-static" flag exists, but is broken.
   12326       lt_prog_compiler_static=
   12327       ;;
   12328 
   12329     hpux*)
   12330       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   12331       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   12332       # sets the default TLS model and affects inlining.
   12333       case $host_cpu in
   12334       hppa*64*)
   12335 	# +Z the default
   12336 	;;
   12337       *)
   12338 	lt_prog_compiler_pic='-fPIC'
   12339 	;;
   12340       esac
   12341       ;;
   12342 
   12343     interix[3-9]*)
   12344       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12345       # Instead, we relocate shared libraries at runtime.
   12346       ;;
   12347 
   12348     msdosdjgpp*)
   12349       # Just because we use GCC doesn't mean we suddenly get shared libraries
   12350       # on systems that don't support them.
   12351       lt_prog_compiler_can_build_shared=no
   12352       enable_shared=no
   12353       ;;
   12354 
   12355     *nto* | *qnx*)
   12356       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12357       # it will coredump.
   12358       lt_prog_compiler_pic='-fPIC -shared'
   12359       ;;
   12360 
   12361     sysv4*MP*)
   12362       if test -d /usr/nec; then
   12363 	lt_prog_compiler_pic=-Kconform_pic
   12364       fi
   12365       ;;
   12366 
   12367     *)
   12368       lt_prog_compiler_pic='-fPIC'
   12369       ;;
   12370     esac
   12371 
   12372     case $cc_basename in
   12373     nvcc*) # Cuda Compiler Driver 2.2
   12374       lt_prog_compiler_wl='-Xlinker '
   12375       if test -n "$lt_prog_compiler_pic"; then
   12376         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   12377       fi
   12378       ;;
   12379     esac
   12380   else
   12381     # PORTME Check for flag to pass linker flags through the system compiler.
   12382     case $host_os in
   12383     aix*)
   12384       lt_prog_compiler_wl='-Wl,'
   12385       if test ia64 = "$host_cpu"; then
   12386 	# AIX 5 now supports IA64 processor
   12387 	lt_prog_compiler_static='-Bstatic'
   12388       else
   12389 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   12390       fi
   12391       ;;
   12392 
   12393     darwin* | rhapsody*)
   12394       # PIC is the default on this platform
   12395       # Common symbols not allowed in MH_DYLIB files
   12396       lt_prog_compiler_pic='-fno-common'
   12397       case $cc_basename in
   12398       nagfor*)
   12399         # NAG Fortran compiler
   12400         lt_prog_compiler_wl='-Wl,-Wl,,'
   12401         lt_prog_compiler_pic='-PIC'
   12402         lt_prog_compiler_static='-Bstatic'
   12403         ;;
   12404       esac
   12405       ;;
   12406 
   12407     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12408       # This hack is so that the source file can tell whether it is being
   12409       # built for inclusion in a dll (and should export symbols for example).
   12410       lt_prog_compiler_pic='-DDLL_EXPORT'
   12411       case $host_os in
   12412       os2*)
   12413 	lt_prog_compiler_static='$wl-static'
   12414 	;;
   12415       esac
   12416       ;;
   12417 
   12418     hpux9* | hpux10* | hpux11*)
   12419       lt_prog_compiler_wl='-Wl,'
   12420       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12421       # not for PA HP-UX.
   12422       case $host_cpu in
   12423       hppa*64*|ia64*)
   12424 	# +Z the default
   12425 	;;
   12426       *)
   12427 	lt_prog_compiler_pic='+Z'
   12428 	;;
   12429       esac
   12430       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   12431       lt_prog_compiler_static='$wl-a ${wl}archive'
   12432       ;;
   12433 
   12434     irix5* | irix6* | nonstopux*)
   12435       lt_prog_compiler_wl='-Wl,'
   12436       # PIC (with -KPIC) is the default.
   12437       lt_prog_compiler_static='-non_shared'
   12438       ;;
   12439 
   12440     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12441       case $cc_basename in
   12442       # old Intel for x86_64, which still supported -KPIC.
   12443       ecc*)
   12444 	lt_prog_compiler_wl='-Wl,'
   12445 	lt_prog_compiler_pic='-KPIC'
   12446 	lt_prog_compiler_static='-static'
   12447         ;;
   12448       *flang* | ftn | f18* | f95*)
   12449         # Flang compiler.
   12450 	lt_prog_compiler_wl='-Wl,'
   12451 	lt_prog_compiler_pic='-fPIC'
   12452 	lt_prog_compiler_static='-static'
   12453         ;;
   12454       # icc used to be incompatible with GCC.
   12455       # ICC 10 doesn't accept -KPIC any more.
   12456       icc* | ifort*)
   12457 	lt_prog_compiler_wl='-Wl,'
   12458 	lt_prog_compiler_pic='-fPIC'
   12459 	lt_prog_compiler_static='-static'
   12460         ;;
   12461       # Lahey Fortran 8.1.
   12462       lf95*)
   12463 	lt_prog_compiler_wl='-Wl,'
   12464 	lt_prog_compiler_pic='--shared'
   12465 	lt_prog_compiler_static='--static'
   12466 	;;
   12467       nagfor*)
   12468 	# NAG Fortran compiler
   12469 	lt_prog_compiler_wl='-Wl,-Wl,,'
   12470 	lt_prog_compiler_pic='-PIC'
   12471 	lt_prog_compiler_static='-Bstatic'
   12472 	;;
   12473       tcc*)
   12474 	# Fabrice Bellard et al's Tiny C Compiler
   12475 	lt_prog_compiler_wl='-Wl,'
   12476 	lt_prog_compiler_pic='-fPIC'
   12477 	lt_prog_compiler_static='-static'
   12478 	;;
   12479       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   12480         # Portland Group compilers (*not* the Pentium gcc compiler,
   12481 	# which looks to be a dead project)
   12482 	lt_prog_compiler_wl='-Wl,'
   12483 	lt_prog_compiler_pic='-fpic'
   12484 	lt_prog_compiler_static='-Bstatic'
   12485         ;;
   12486       ccc*)
   12487         lt_prog_compiler_wl='-Wl,'
   12488         # All Alpha code is PIC.
   12489         lt_prog_compiler_static='-non_shared'
   12490         ;;
   12491       xl* | bgxl* | bgf* | mpixl*)
   12492 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   12493 	lt_prog_compiler_wl='-Wl,'
   12494 	lt_prog_compiler_pic='-qpic'
   12495 	lt_prog_compiler_static='-qstaticlink'
   12496 	;;
   12497       *)
   12498 	case `$CC -V 2>&1 | $SED 5q` in
   12499 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   12500 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   12501 	  lt_prog_compiler_pic='-KPIC'
   12502 	  lt_prog_compiler_static='-Bstatic'
   12503 	  lt_prog_compiler_wl=''
   12504 	  ;;
   12505 	*Sun\ F* | *Sun*Fortran*)
   12506 	  lt_prog_compiler_pic='-KPIC'
   12507 	  lt_prog_compiler_static='-Bstatic'
   12508 	  lt_prog_compiler_wl='-Qoption ld '
   12509 	  ;;
   12510 	*Sun\ C*)
   12511 	  # Sun C 5.9
   12512 	  lt_prog_compiler_pic='-KPIC'
   12513 	  lt_prog_compiler_static='-Bstatic'
   12514 	  lt_prog_compiler_wl='-Wl,'
   12515 	  ;;
   12516         *Intel*\ [CF]*Compiler*)
   12517 	  lt_prog_compiler_wl='-Wl,'
   12518 	  lt_prog_compiler_pic='-fPIC'
   12519 	  lt_prog_compiler_static='-static'
   12520 	  ;;
   12521 	*Portland\ Group*)
   12522 	  lt_prog_compiler_wl='-Wl,'
   12523 	  lt_prog_compiler_pic='-fpic'
   12524 	  lt_prog_compiler_static='-Bstatic'
   12525 	  ;;
   12526 	esac
   12527 	;;
   12528       esac
   12529       ;;
   12530 
   12531     newsos6)
   12532       lt_prog_compiler_pic='-KPIC'
   12533       lt_prog_compiler_static='-Bstatic'
   12534       ;;
   12535 
   12536     *-mlibc)
   12537       lt_prog_compiler_wl='-Wl,'
   12538       lt_prog_compiler_pic='-fPIC'
   12539       lt_prog_compiler_static='-static'
   12540       ;;
   12541 
   12542     *nto* | *qnx*)
   12543       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12544       # it will coredump.
   12545       lt_prog_compiler_pic='-fPIC -shared'
   12546       ;;
   12547 
   12548     osf3* | osf4* | osf5*)
   12549       lt_prog_compiler_wl='-Wl,'
   12550       # All OSF/1 code is PIC.
   12551       lt_prog_compiler_static='-non_shared'
   12552       ;;
   12553 
   12554     rdos*)
   12555       lt_prog_compiler_static='-non_shared'
   12556       ;;
   12557 
   12558     serenity*)
   12559       ;;
   12560 
   12561     solaris*)
   12562       lt_prog_compiler_pic='-KPIC'
   12563       lt_prog_compiler_static='-Bstatic'
   12564       case $cc_basename in
   12565       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   12566 	lt_prog_compiler_wl='-Qoption ld ';;
   12567       *)
   12568 	lt_prog_compiler_wl='-Wl,';;
   12569       esac
   12570       ;;
   12571 
   12572     sunos4*)
   12573       lt_prog_compiler_wl='-Qoption ld '
   12574       lt_prog_compiler_pic='-PIC'
   12575       lt_prog_compiler_static='-Bstatic'
   12576       ;;
   12577 
   12578     sysv4 | sysv4.2uw2* | sysv4.3*)
   12579       lt_prog_compiler_wl='-Wl,'
   12580       lt_prog_compiler_pic='-KPIC'
   12581       lt_prog_compiler_static='-Bstatic'
   12582       ;;
   12583 
   12584     sysv4*MP*)
   12585       if test -d /usr/nec; then
   12586 	lt_prog_compiler_pic='-Kconform_pic'
   12587 	lt_prog_compiler_static='-Bstatic'
   12588       fi
   12589       ;;
   12590 
   12591     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12592       lt_prog_compiler_wl='-Wl,'
   12593       lt_prog_compiler_pic='-KPIC'
   12594       lt_prog_compiler_static='-Bstatic'
   12595       ;;
   12596 
   12597     unicos*)
   12598       lt_prog_compiler_wl='-Wl,'
   12599       lt_prog_compiler_can_build_shared=no
   12600       ;;
   12601 
   12602     uts4*)
   12603       lt_prog_compiler_pic='-pic'
   12604       lt_prog_compiler_static='-Bstatic'
   12605       ;;
   12606 
   12607     *)
   12608       lt_prog_compiler_can_build_shared=no
   12609       ;;
   12610     esac
   12611   fi
   12612 
   12613 case $host_os in
   12614   # For platforms that do not support PIC, -DPIC is meaningless:
   12615   *djgpp*)
   12616     lt_prog_compiler_pic=
   12617     ;;
   12618   *)
   12619     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   12620     ;;
   12621 esac
   12622 
   12623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   12624 printf %s "checking for $compiler option to produce PIC... " >&6; }
   12625 if test ${lt_cv_prog_compiler_pic+y}
   12626 then :
   12627   printf %s "(cached) " >&6
   12628 else case e in #(
   12629   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   12630 esac
   12631 fi
   12632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   12633 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   12634 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   12635 
   12636 #
   12637 # Check to make sure the PIC flag actually works.
   12638 #
   12639 if test -n "$lt_prog_compiler_pic"; then
   12640   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   12641 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   12642 if test ${lt_cv_prog_compiler_pic_works+y}
   12643 then :
   12644   printf %s "(cached) " >&6
   12645 else case e in #(
   12646   e) lt_cv_prog_compiler_pic_works=no
   12647    ac_outfile=conftest.$ac_objext
   12648    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12649    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   12650    # Insert the option either (1) after the last *FLAGS variable, or
   12651    # (2) before a word containing "conftest.", or (3) at the end.
   12652    # Note that $ac_compile itself does not contain backslashes and begins
   12653    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12654    # The option is referenced via a variable to avoid confusing sed.
   12655    lt_compile=`echo "$ac_compile" | $SED \
   12656    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12657    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12658    -e 's:$: $lt_compiler_flag:'`
   12659    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   12660    (eval "$lt_compile" 2>conftest.err)
   12661    ac_status=$?
   12662    cat conftest.err >&5
   12663    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12664    if (exit $ac_status) && test -s "$ac_outfile"; then
   12665      # The compiler can only warn and ignore the option if not recognized
   12666      # So say no if there are warnings other than the usual output.
   12667      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   12668      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12669      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12670        lt_cv_prog_compiler_pic_works=yes
   12671      fi
   12672    fi
   12673    $RM conftest*
   12674  ;;
   12675 esac
   12676 fi
   12677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   12678 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   12679 
   12680 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   12681     case $lt_prog_compiler_pic in
   12682      "" | " "*) ;;
   12683      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   12684      esac
   12685 else
   12686     lt_prog_compiler_pic=
   12687      lt_prog_compiler_can_build_shared=no
   12688 fi
   12689 
   12690 fi
   12691 
   12692 
   12693 
   12694 
   12695 
   12696 #
   12697 # Check to make sure the static flag actually works.
   12698 #
   12699 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   12700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12701 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   12702 if test ${lt_cv_prog_compiler_static_works+y}
   12703 then :
   12704   printf %s "(cached) " >&6
   12705 else case e in #(
   12706   e) lt_cv_prog_compiler_static_works=no
   12707    save_LDFLAGS=$LDFLAGS
   12708    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12709    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12710    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12711      # The linker can only warn and ignore the option if not recognized
   12712      # So say no if there are warnings
   12713      if test -s conftest.err; then
   12714        # Append any errors to the config.log.
   12715        cat conftest.err 1>&5
   12716        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   12717        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12718        if diff conftest.exp conftest.er2 >/dev/null; then
   12719          lt_cv_prog_compiler_static_works=yes
   12720        fi
   12721      else
   12722        lt_cv_prog_compiler_static_works=yes
   12723      fi
   12724    fi
   12725    $RM -r conftest*
   12726    LDFLAGS=$save_LDFLAGS
   12727  ;;
   12728 esac
   12729 fi
   12730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   12731 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   12732 
   12733 if test yes = "$lt_cv_prog_compiler_static_works"; then
   12734     :
   12735 else
   12736     lt_prog_compiler_static=
   12737 fi
   12738 
   12739 
   12740 
   12741 ='-fPIC'
   12742   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   12743   archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib -s EXPORTED_FUNCTIONS=@$output_objdir/$soname.expsym'
   12744   archive_cmds_need_lc=no
   12745   no_undefined_flag=
   12746   ;;
   12747 
   12748 *)
   12749   dynamic_linker=no
   12750   ;;
   12751 esac
   12752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12753 printf "%s\n" "$dynamic_linker" >&6; }
   12754 test no = "$dynamic_linker" && can_build_shared=no
   12755 
   12756 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12757 if test yes = "$GCC"; then
   12758   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12759 fi
   12760 
   12761 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12762   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12763 fi
   12764 
   12765 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12766   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12767 fi
   12768 
   12769 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12770 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12771 
   12772 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12773 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12774 
   12775 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12776 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12777 
   12778 
   12779 
   12780 
   12781 
   12782 
   12783 
   12784 
   12785 
   12786 
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 
   12793 
   12794 
   12795 
   12796 
   12797 
   12798 
   12799 
   12800 
   12801 
   12802 
   12803 
   12804 
   12805 
   12806 
   12807 
   12808 
   12809 
   12810 
   12811 
   12812 
   12813 
   12814 
   12815 
   12816 
   12817 
   12818 
   12819 
   12820 
   12821 
   12822 
   12823 
   12824 
   12825 
   12826 
   12827 
   12828 
   12829 
   12830 
   12831 
   12832 
   12833 
   12834 
   12835 
   12836 
   12837 
   12838 
   12839 
   12840 
   12841 
   12842 
   12843 
   12844 
   12845 
   12846 
   12847 
   12848 
   12849 
   12850 
   12851 
   12852 
   12853 
   12854 
   12855 
   12856 
   12857 
   12858 
   12859 
   12860 
   12861 
   12862 
   12863 
   12864 
   12865 
   12866 
   12867 
   12868 
   12869 
   12870 
   12871 
   12872 
   12873 
   12874   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12875 printf %s "checking how to hardcode library paths into programs... " >&6; }
   12876 hardcode_action=
   12877 if test -n "$hardcode_libdir_flag_spec" ||
   12878    test -n "$runpath_var" ||
   12879    test yes = "$hardcode_automatic"; then
   12880 
   12881   # We can hardcode non-existent directories.
   12882   if test no != "$hardcode_direct" &&
   12883      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12884      # have to relink, otherwise we might link with an installed library
   12885      # when we should be linking with a yet-to-be-installed one
   12886      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12887      test no != "$hardcode_minus_L"; then
   12888     # Linking always hardcodes the temporary library directory.
   12889     hardcode_action=relink
   12890   else
   12891     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12892     hardcode_action=immediate
   12893   fi
   12894 else
   12895   # We cannot hardcode anything, or else we can only hardcode existing
   12896   # directories.
   12897   hardcode_action=unsupported
   12898 fi
   12899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12900 printf "%s\n" "$hardcode_action" >&6; }
   12901 
   12902 if test relink = "$hardcode_action" ||
   12903    test yes = "$inherit_rpath"; then
   12904   # Fast installation is not supported
   12905   enable_fast_install=no
   12906 elif test yes = "$shlibpath_overrides_runpath" ||
   12907      test no = "$enable_shared"; then
   12908   # Fast installation is not necessary
   12909   enable_fast_install=needless
   12910 fi
   12911 
   12912 
   12913 
   12914 
   12915 
   12916 
   12917   if test yes != "$enable_dlopen"; then
   12918   enable_dlopen=unknown
   12919   enable_dlopen_self=unknown
   12920   enable_dlopen_self_static=unknown
   12921 else
   12922   lt_cv_dlopen=no
   12923   lt_cv_dlopen_libs=
   12924 
   12925   case $host_os in
   12926   beos*)
   12927     lt_cv_dlopen=load_add_on
   12928     lt_cv_dlopen_libs=
   12929     lt_cv_dlopen_self=yes
   12930     ;;
   12931 
   12932   mingw* | windows* | pw32* | cegcc*)
   12933     lt_cv_dlopen=LoadLibrary
   12934     lt_cv_dlopen_libs=
   12935     ;;
   12936 
   12937   cygwin*)
   12938     lt_cv_dlopen=dlopen
   12939     lt_cv_dlopen_libs=
   12940     ;;
   12941 
   12942   darwin*)
   12943     # if libdl is installed we need to link against it
   12944     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12945 printf %s "checking for dlopen in -ldl... " >&6; }
   12946 if test ${ac_cv_lib_dl_dlopen+y}
   12947 then :
   12948   printf %s "(cached) " >&6
   12949 else case e in #(
   12950   e) ac_check_lib_save_LIBS=$LIBS
   12951 LIBS="-ldl  $LIBS"
   12952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12953 /* end confdefs.h.  */
   12954 
   12955 /* Override any GCC internal prototype to avoid an error.
   12956    Use char because int might match the return type of a GCC
   12957    builtin and then its argument prototype would still apply.
   12958    The 'extern "C"' is for builds by C++ compilers;
   12959    although this is not generally supported in C code supporting it here
   12960    has little cost and some practical benefit (sr 110532).  */
   12961 #ifdef __cplusplus
   12962 extern "C"
   12963 #endif
   12964 char dlopen (void);
   12965 int
   12966 main (void)
   12967 {
   12968 return dlopen ();
   12969   ;
   12970   return 0;
   12971 }
   12972 _ACEOF
   12973 if ac_fn_c_try_link "$LINENO"
   12974 then :
   12975   ac_cv_lib_dl_dlopen=yes
   12976 else case e in #(
   12977   e) ac_cv_lib_dl_dlopen=no ;;
   12978 esac
   12979 fi
   12980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12981     conftest$ac_exeext conftest.$ac_ext
   12982 LIBS=$ac_check_lib_save_LIBS ;;
   12983 esac
   12984 fi
   12985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12986 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12987 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12988 then :
   12989   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12990 else case e in #(
   12991   e)
   12992     lt_cv_dlopen=dyld
   12993     lt_cv_dlopen_libs=
   12994     lt_cv_dlopen_self=yes
   12995      ;;
   12996 esac
   12997 fi
   12998 
   12999     ;;
   13000 
   13001   tpf*)
   13002     # Don't try to run any link tests for TPF.  We know it's impossible
   13003     # because TPF is a cross-compiler, and we know how we open DSOs.
   13004     lt_cv_dlopen=dlopen
   13005     lt_cv_dlopen_libs=
   13006     lt_cv_dlopen_self=no
   13007     ;;
   13008 
   13009   *)
   13010     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   13011 if test "x$ac_cv_func_shl_load" = xyes
   13012 then :
   13013   lt_cv_dlopen=shl_load
   13014 else case e in #(
   13015   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   13016 printf %s "checking for shl_load in -ldld... " >&6; }
   13017 if test ${ac_cv_lib_dld_shl_load+y}
   13018 then :
   13019   printf %s "(cached) " >&6
   13020 else case e in #(
   13021   e) ac_check_lib_save_LIBS=$LIBS
   13022 LIBS="-ldld  $LIBS"
   13023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13024 /* end confdefs.h.  */
   13025 
   13026 /* Override any GCC internal prototype to avoid an error.
   13027    Use char because int might match the return type of a GCC
   13028    builtin and then its argument prototype would still apply.
   13029    The 'extern "C"' is for builds by C++ compilers;
   13030    although this is not generally supported in C code supporting it here
   13031    has little cost and some practical benefit (sr 110532).  */
   13032 #ifdef __cplusplus
   13033 extern "C"
   13034 #endif
   13035 char shl_load (void);
   13036 int
   13037 main (void)
   13038 {
   13039 return shl_load ();
   13040   ;
   13041   return 0;
   13042 }
   13043 _ACEOF
   13044 if ac_fn_c_try_link "$LINENO"
   13045 then :
   13046   ac_cv_lib_dld_shl_load=yes
   13047 else case e in #(
   13048   e) ac_cv_lib_dld_shl_load=no ;;
   13049 esac
   13050 fi
   13051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13052     conftest$ac_exeext conftest.$ac_ext
   13053 LIBS=$ac_check_lib_save_LIBS ;;
   13054 esac
   13055 fi
   13056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   13057 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   13058 if test "x$ac_cv_lib_dld_shl_load" = xyes
   13059 then :
   13060   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   13061 else case e in #(
   13062   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   13063 if test "x$ac_cv_func_dlopen" = xyes
   13064 then :
   13065   lt_cv_dlopen=dlopen
   13066 else case e in #(
   13067   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13068 printf %s "checking for dlopen in -ldl... " >&6; }
   13069 if test ${ac_cv_lib_dl_dlopen+y}
   13070 then :
   13071   printf %s "(cached) " >&6
   13072 else case e in #(
   13073   e) ac_check_lib_save_LIBS=$LIBS
   13074 LIBS="-ldl  $LIBS"
   13075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13076 /* end confdefs.h.  */
   13077 
   13078 /* Override any GCC internal prototype to avoid an error.
   13079    Use char because int might match the return type of a GCC
   13080    builtin and then its argument prototype would still apply.
   13081    The 'extern "C"' is for builds by C++ compilers;
   13082    although this is not generally supported in C code supporting it here
   13083    has little cost and some practical benefit (sr 110532).  */
   13084 #ifdef __cplusplus
   13085 extern "C"
   13086 #endif
   13087 char dlopen (void);
   13088 int
   13089 main (void)
   13090 {
   13091 return dlopen ();
   13092   ;
   13093   return 0;
   13094 }
   13095 _ACEOF
   13096 if ac_fn_c_try_link "$LINENO"
   13097 then :
   13098   ac_cv_lib_dl_dlopen=yes
   13099 else case e in #(
   13100   e) ac_cv_lib_dl_dlopen=no ;;
   13101 esac
   13102 fi
   13103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13104     conftest$ac_exeext conftest.$ac_ext
   13105 LIBS=$ac_check_lib_save_LIBS ;;
   13106 esac
   13107 fi
   13108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13109 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13110 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13111 then :
   13112   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13113 else case e in #(
   13114   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   13115 printf %s "checking for dlopen in -lsvld... " >&6; }
   13116 if test ${ac_cv_lib_svld_dlopen+y}
   13117 then :
   13118   printf %s "(cached) " >&6
   13119 else case e in #(
   13120   e) ac_check_lib_save_LIBS=$LIBS
   13121 LIBS="-lsvld  $LIBS"
   13122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13123 /* end confdefs.h.  */
   13124 
   13125 /* Override any GCC internal prototype to avoid an error.
   13126    Use char because int might match the return type of a GCC
   13127    builtin and then its argument prototype would still apply.
   13128    The 'extern "C"' is for builds by C++ compilers;
   13129    although this is not generally supported in C code supporting it here
   13130    has little cost and some practical benefit (sr 110532).  */
   13131 #ifdef __cplusplus
   13132 extern "C"
   13133 #endif
   13134 char dlopen (void);
   13135 int
   13136 main (void)
   13137 {
   13138 return dlopen ();
   13139   ;
   13140   return 0;
   13141 }
   13142 _ACEOF
   13143 if ac_fn_c_try_link "$LINENO"
   13144 then :
   13145   ac_cv_lib_svld_dlopen=yes
   13146 else case e in #(
   13147   e) ac_cv_lib_svld_dlopen=no ;;
   13148 esac
   13149 fi
   13150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13151     conftest$ac_exeext conftest.$ac_ext
   13152 LIBS=$ac_check_lib_save_LIBS ;;
   13153 esac
   13154 fi
   13155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   13156 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   13157 if test "x$ac_cv_lib_svld_dlopen" = xyes
   13158 then :
   13159   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   13160 else case e in #(
   13161   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   13162 printf %s "checking for dld_link in -ldld... " >&6; }
   13163 if test ${ac_cv_lib_dld_dld_link+y}
   13164 then :
   13165   printf %s "(cached) " >&6
   13166 else case e in #(
   13167   e) ac_check_lib_save_LIBS=$LIBS
   13168 LIBS="-ldld  $LIBS"
   13169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13170 /* end confdefs.h.  */
   13171 
   13172 /* Override any GCC internal prototype to avoid an error.
   13173    Use char because int might match the return type of a GCC
   13174    builtin and then its argument prototype would still apply.
   13175    The 'extern "C"' is for builds by C++ compilers;
   13176    although this is not generally supported in C code supporting it here
   13177    has little cost and some practical benefit (sr 110532).  */
   13178 #ifdef __cplusplus
   13179 extern "C"
   13180 #endif
   13181 char dld_link (void);
   13182 int
   13183 main (void)
   13184 {
   13185 return dld_link ();
   13186   ;
   13187   return 0;
   13188 }
   13189 _ACEOF
   13190 if ac_fn_c_try_link "$LINENO"
   13191 then :
   13192   ac_cv_lib_dld_dld_link=yes
   13193 else case e in #(
   13194   e) ac_cv_lib_dld_dld_link=no ;;
   13195 esac
   13196 fi
   13197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13198     conftest$ac_exeext conftest.$ac_ext
   13199 LIBS=$ac_check_lib_save_LIBS ;;
   13200 esac
   13201 fi
   13202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   13203 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   13204 if test "x$ac_cv_lib_dld_dld_link" = xyes
   13205 then :
   13206   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   13207 fi
   13208 
   13209 	       ;;
   13210 esac
   13211 fi
   13212 
   13213 	     ;;
   13214 esac
   13215 fi
   13216 
   13217 	   ;;
   13218 esac
   13219 fi
   13220 
   13221 	 ;;
   13222 esac
   13223 fi
   13224 
   13225        ;;
   13226 esac
   13227 fi
   13228 
   13229     ;;
   13230   esac
   13231 
   13232   if test no = "$lt_cv_dlopen"; then
   13233     enable_dlopen=no
   13234   else
   13235     enable_dlopen=yes
   13236   fi
   13237 
   13238   case $lt_cv_dlopen in
   13239   dlopen)
   13240     save_CPPFLAGS=$CPPFLAGS
   13241     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   13242 
   13243     save_LDFLAGS=$LDFLAGS
   13244     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   13245 
   13246     save_LIBS=$LIBS
   13247     LIBS="$lt_cv_dlopen_libs $LIBS"
   13248 
   13249     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   13250 printf %s "checking whether a program can dlopen itself... " >&6; }
   13251 if test ${lt_cv_dlopen_self+y}
   13252 then :
   13253   printf %s "(cached) " >&6
   13254 else case e in #(
   13255   e) 	  if test yes = "$cross_compiling"; then :
   13256   lt_cv_dlopen_self=cross
   13257 else
   13258   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13259   lt_status=$lt_dlunknown
   13260   cat > conftest.$ac_ext <<_LT_EOF
   13261 #line $LINENO "configure"
   13262 #include "confdefs.h"
   13263 
   13264 #if HAVE_DLFCN_H
   13265 #include <dlfcn.h>
   13266 #endif
   13267 
   13268 #include <stdio.h>
   13269 
   13270 #ifdef RTLD_GLOBAL
   13271 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13272 #else
   13273 #  ifdef DL_GLOBAL
   13274 #    define LT_DLGLOBAL		DL_GLOBAL
   13275 #  else
   13276 #    define LT_DLGLOBAL		0
   13277 #  endif
   13278 #endif
   13279 
   13280 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13281    find out it does not work in some platform. */
   13282 #ifndef LT_DLLAZY_OR_NOW
   13283 #  ifdef RTLD_LAZY
   13284 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13285 #  else
   13286 #    ifdef DL_LAZY
   13287 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13288 #    else
   13289 #      ifdef RTLD_NOW
   13290 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13291 #      else
   13292 #        ifdef DL_NOW
   13293 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13294 #        else
   13295 #          define LT_DLLAZY_OR_NOW	0
   13296 #        endif
   13297 #      endif
   13298 #    endif
   13299 #  endif
   13300 #endif
   13301 
   13302 /* When -fvisibility=hidden is used, assume the code has been annotated
   13303    correspondingly for the symbols needed.  */
   13304 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13305 int fnord (void) __attribute__((visibility("default")));
   13306 #endif
   13307 
   13308 int fnord (void) { return 42; }
   13309 int main (void)
   13310 {
   13311   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13312   int status = $lt_dlunknown;
   13313 
   13314   if (self)
   13315     {
   13316       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13317       else
   13318         {
   13319 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13320           else puts (dlerror ());
   13321 	}
   13322       /* dlclose (self); */
   13323     }
   13324   else
   13325     puts (dlerror ());
   13326 
   13327   return status;
   13328 }
   13329 _LT_EOF
   13330   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13331   (eval $ac_link) 2>&5
   13332   ac_status=$?
   13333   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13334   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13335     (./conftest; exit; ) >&5 2>/dev/null
   13336     lt_status=$?
   13337     case x$lt_status in
   13338       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   13339       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   13340       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   13341     esac
   13342   else :
   13343     # compilation failed
   13344     lt_cv_dlopen_self=no
   13345   fi
   13346 fi
   13347 rm -fr conftest*
   13348 
   13349      ;;
   13350 esac
   13351 fi
   13352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   13353 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   13354 
   13355     if test yes = "$lt_cv_dlopen_self"; then
   13356       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   13357       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   13358 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   13359 if test ${lt_cv_dlopen_self_static+y}
   13360 then :
   13361   printf %s "(cached) " >&6
   13362 else case e in #(
   13363   e) 	  if test yes = "$cross_compiling"; then :
   13364   lt_cv_dlopen_self_static=cross
   13365 else
   13366   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13367   lt_status=$lt_dlunknown
   13368   cat > conftest.$ac_ext <<_LT_EOF
   13369 #line $LINENO "configure"
   13370 #include "confdefs.h"
   13371 
   13372 #if HAVE_DLFCN_H
   13373 #include <dlfcn.h>
   13374 #endif
   13375 
   13376 #include <stdio.h>
   13377 
   13378 #ifdef RTLD_GLOBAL
   13379 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13380 #else
   13381 #  ifdef DL_GLOBAL
   13382 #    define LT_DLGLOBAL		DL_GLOBAL
   13383 #  else
   13384 #    define LT_DLGLOBAL		0
   13385 #  endif
   13386 #endif
   13387 
   13388 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13389    find out it does not work in some platform. */
   13390 #ifndef LT_DLLAZY_OR_NOW
   13391 #  ifdef RTLD_LAZY
   13392 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13393 #  else
   13394 #    ifdef DL_LAZY
   13395 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13396 #    else
   13397 #      ifdef RTLD_NOW
   13398 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13399 #      else
   13400 #        ifdef DL_NOW
   13401 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13402 #        else
   13403 #          define LT_DLLAZY_OR_NOW	0
   13404 #        endif
   13405 #      endif
   13406 #    endif
   13407 #  endif
   13408 #endif
   13409 
   13410 /* When -fvisibility=hidden is used, assume the code has been annotated
   13411    correspondingly for the symbols needed.  */
   13412 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13413 int fnord (void) __attribute__((visibility("default")));
   13414 #endif
   13415 
   13416 int fnord (void) { return 42; }
   13417 int main (void)
   13418 {
   13419   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13420   int status = $lt_dlunknown;
   13421 
   13422   if (self)
   13423     {
   13424       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13425       else
   13426         {
   13427 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13428           else puts (dlerror ());
   13429 	}
   13430       /* dlclose (self); */
   13431     }
   13432   else
   13433     puts (dlerror ());
   13434 
   13435   return status;
   13436 }
   13437 _LT_EOF
   13438   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13439   (eval $ac_link) 2>&5
   13440   ac_status=$?
   13441   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13442   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13443     (./conftest; exit; ) >&5 2>/dev/null
   13444     lt_status=$?
   13445     case x$lt_status in
   13446       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   13447       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   13448       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   13449     esac
   13450   else :
   13451     # compilation failed
   13452     lt_cv_dlopen_self_static=no
   13453   fi
   13454 fi
   13455 rm -fr conftest*
   13456 
   13457        ;;
   13458 esac
   13459 fi
   13460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   13461 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   13462     fi
   13463 
   13464     CPPFLAGS=$save_CPPFLAGS
   13465     LDFLAGS=$save_LDFLAGS
   13466     LIBS=$save_LIBS
   13467     ;;
   13468   esac
   13469 
   13470   case $lt_cv_dlopen_self in
   13471   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   13472   *) enable_dlopen_self=unknown ;;
   13473   esac
   13474 
   13475   case $lt_cv_dlopen_self_static in
   13476   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   13477   *) enable_dlopen_self_static=unknown ;;
   13478   esac
   13479 fi
   13480 
   13481 
   13482 
   13483 
   13484 
   13485 
   13486 
   13487 
   13488 
   13489 
   13490 
   13491 
   13492 
   13493 
   13494 
   13495 
   13496 
   13497 striplib=
   13498 old_striplib=
   13499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   13500 printf %s "checking whether stripping libraries is possible... " >&6; }
   13501 if test -z "$STRIP"; then
   13502   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13503 printf "%s\n" "no" >&6; }
   13504 else
   13505   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   13506     old_striplib="$STRIP --strip-debug"
   13507     striplib="$STRIP --strip-unneeded"
   13508     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13509 printf "%s\n" "yes" >&6; }
   13510   else
   13511     case $host_os in
   13512     darwin*)
   13513       # FIXME - insert some real tests, host_os isn't really good enough
   13514       striplib="$STRIP -x"
   13515       old_striplib="$STRIP -S"
   13516       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13517 printf "%s\n" "yes" >&6; }
   13518       ;;
   13519     freebsd*)
   13520       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   13521         old_striplib="$STRIP --strip-debug"
   13522         striplib="$STRIP --strip-unneeded"
   13523         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13524 printf "%s\n" "yes" >&6; }
   13525       else
   13526         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13527 printf "%s\n" "no" >&6; }
   13528       fi
   13529       ;;
   13530     *)
   13531       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13532 printf "%s\n" "no" >&6; }
   13533       ;;
   13534     esac
   13535   fi
   13536 fi
   13537 
   13538 
   13539 
   13540 
   13541 
   13542 
   13543 
   13544 
   13545 
   13546 
   13547 
   13548 
   13549   # Report what library types will actually be built
   13550   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   13551 printf %s "checking if libtool supports shared libraries... " >&6; }
   13552   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   13553 printf "%s\n" "$can_build_shared" >&6; }
   13554 
   13555   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   13556 printf %s "checking whether to build shared libraries... " >&6; }
   13557   test no = "$can_build_shared" && enable_shared=no
   13558 
   13559   # On AIX, shared libraries and static libraries use the same namespace, and
   13560   # are all built from PIC.
   13561   case $host_os in
   13562   aix3*)
   13563     test yes = "$enable_shared" && enable_static=no
   13564     if test -n "$RANLIB"; then
   13565       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13566       postinstall_cmds='$RANLIB $lib'
   13567     fi
   13568     ;;
   13569 
   13570   aix[4-9]*)
   13571     if test ia64 != "$host_cpu"; then
   13572       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   13573       yes,aix,yes) ;;			# shared object as lib.so file only
   13574       yes,svr4,*) ;;			# shared object as lib.so archive member only
   13575       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   13576       esac
   13577     fi
   13578     ;;
   13579   esac
   13580   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   13581 printf "%s\n" "$enable_shared" >&6; }
   13582 
   13583   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   13584 printf %s "checking whether to build static libraries... " >&6; }
   13585   # Make sure either enable_shared or enable_static is yes.
   13586   test yes = "$enable_shared" || enable_static=yes
   13587   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   13588 printf "%s\n" "$enable_static" >&6; }
   13589 
   13590 
   13591 
   13592 
   13593 fi
   13594 ac_ext=c
   13595 ac_cpp='$CPP $CPPFLAGS'
   13596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13599 
   13600 CC=$lt_save_CC
   13601 
   13602 
   13603 
   13604 
   13605 
   13606 
   13607 
   13608 
   13609 
   13610 
   13611 
   13612 
   13613 
   13614 
   13615 
   13616         ac_config_commands="$ac_config_commands libtool"
   13617 
   13618 
   13619 
   13620 
   13621 # Only expand once:
   13622 
   13623 
   13624 
   13625 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   13626 
   13627 
   13628 
   13629 
   13630 
   13631 
   13632 
   13633 
   13634 
   13635 
   13636 
   13637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   13638 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   13639 if test ${ac_cv_c_undeclared_builtin_options+y}
   13640 then :
   13641   printf %s "(cached) " >&6
   13642 else case e in #(
   13643   e) ac_save_CFLAGS=$CFLAGS
   13644    ac_cv_c_undeclared_builtin_options='cannot detect'
   13645    for ac_arg in '' -fno-builtin; do
   13646      CFLAGS="$ac_save_CFLAGS $ac_arg"
   13647      # This test program should *not* compile successfully.
   13648      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13649 /* end confdefs.h.  */
   13650 
   13651 int
   13652 main (void)
   13653 {
   13654 (void) strchr;
   13655   ;
   13656   return 0;
   13657 }
   13658 _ACEOF
   13659 if ac_fn_c_try_compile "$LINENO"
   13660 then :
   13661 
   13662 else case e in #(
   13663   e) # This test program should compile successfully.
   13664         # No library function is consistently available on
   13665         # freestanding implementations, so test against a dummy
   13666         # declaration.  Include always-available headers on the
   13667         # off chance that they somehow elicit warnings.
   13668         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13669 /* end confdefs.h.  */
   13670 #include <float.h>
   13671 #include <limits.h>
   13672 #include <stdarg.h>
   13673 #include <stddef.h>
   13674 extern void ac_decl (int, char *);
   13675 
   13676 int
   13677 main (void)
   13678 {
   13679 (void) ac_decl (0, (char *) 0);
   13680   (void) ac_decl;
   13681 
   13682   ;
   13683   return 0;
   13684 }
   13685 _ACEOF
   13686 if ac_fn_c_try_compile "$LINENO"
   13687 then :
   13688   if test x"$ac_arg" = x
   13689 then :
   13690   ac_cv_c_undeclared_builtin_options='none needed'
   13691 else case e in #(
   13692   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   13693 esac
   13694 fi
   13695           break
   13696 fi
   13697 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13698 esac
   13699 fi
   13700 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13701     done
   13702     CFLAGS=$ac_save_CFLAGS
   13703    ;;
   13704 esac
   13705 fi
   13706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   13707 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   13708   case $ac_cv_c_undeclared_builtin_options in #(
   13709   'cannot detect') :
   13710     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13711 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13712 as_fn_error $? "cannot make $CC report undeclared builtins
   13713 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   13714   'none needed') :
   13715     ac_c_undeclared_builtin_options='' ;; #(
   13716   *) :
   13717     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   13718 esac
   13719 
   13720 
   13721 
   13722 
   13723 
   13724 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13725 if test "x$ac_cv_have_decl___clang__" = xyes
   13726 then :
   13727   CLANGCC="yes"
   13728 else case e in #(
   13729   e) CLANGCC="no" ;;
   13730 esac
   13731 fi
   13732 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13733 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   13734 then :
   13735   INTELCC="yes"
   13736 else case e in #(
   13737   e) INTELCC="no" ;;
   13738 esac
   13739 fi
   13740 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13741 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   13742 then :
   13743   SUNCC="yes"
   13744 else case e in #(
   13745   e) SUNCC="no" ;;
   13746 esac
   13747 fi
   13748 
   13749 
   13750 
   13751 
   13752 
   13753 
   13754 
   13755 
   13756 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   13757 	if test -n "$ac_tool_prefix"; then
   13758   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   13759 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   13760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13761 printf %s "checking for $ac_word... " >&6; }
   13762 if test ${ac_cv_path_PKG_CONFIG+y}
   13763 then :
   13764   printf %s "(cached) " >&6
   13765 else case e in #(
   13766   e) case $PKG_CONFIG in
   13767   [\\/]* | ?:[\\/]*)
   13768   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   13769   ;;
   13770   *)
   13771   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13772 for as_dir in $PATH
   13773 do
   13774   IFS=$as_save_IFS
   13775   case $as_dir in #(((
   13776     '') as_dir=./ ;;
   13777     */) ;;
   13778     *) as_dir=$as_dir/ ;;
   13779   esac
   13780     for ac_exec_ext in '' $ac_executable_extensions; do
   13781   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13782     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13783     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13784     break 2
   13785   fi
   13786 done
   13787   done
   13788 IFS=$as_save_IFS
   13789 
   13790   ;;
   13791 esac ;;
   13792 esac
   13793 fi
   13794 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   13795 if test -n "$PKG_CONFIG"; then
   13796   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   13797 printf "%s\n" "$PKG_CONFIG" >&6; }
   13798 else
   13799   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13800 printf "%s\n" "no" >&6; }
   13801 fi
   13802 
   13803 
   13804 fi
   13805 if test -z "$ac_cv_path_PKG_CONFIG"; then
   13806   ac_pt_PKG_CONFIG=$PKG_CONFIG
   13807   # Extract the first word of "pkg-config", so it can be a program name with args.
   13808 set dummy pkg-config; ac_word=$2
   13809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13810 printf %s "checking for $ac_word... " >&6; }
   13811 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   13812 then :
   13813   printf %s "(cached) " >&6
   13814 else case e in #(
   13815   e) case $ac_pt_PKG_CONFIG in
   13816   [\\/]* | ?:[\\/]*)
   13817   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13818   ;;
   13819   *)
   13820   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13821 for as_dir in $PATH
   13822 do
   13823   IFS=$as_save_IFS
   13824   case $as_dir in #(((
   13825     '') as_dir=./ ;;
   13826     */) ;;
   13827     *) as_dir=$as_dir/ ;;
   13828   esac
   13829     for ac_exec_ext in '' $ac_executable_extensions; do
   13830   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13831     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13832     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13833     break 2
   13834   fi
   13835 done
   13836   done
   13837 IFS=$as_save_IFS
   13838 
   13839   ;;
   13840 esac ;;
   13841 esac
   13842 fi
   13843 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13844 if test -n "$ac_pt_PKG_CONFIG"; then
   13845   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   13846 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   13847 else
   13848   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13849 printf "%s\n" "no" >&6; }
   13850 fi
   13851 
   13852   if test "x$ac_pt_PKG_CONFIG" = x; then
   13853     PKG_CONFIG=""
   13854   else
   13855     case $cross_compiling:$ac_tool_warned in
   13856 yes:)
   13857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13858 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13859 ac_tool_warned=yes ;;
   13860 esac
   13861     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13862   fi
   13863 else
   13864   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13865 fi
   13866 
   13867 fi
   13868 if test -n "$PKG_CONFIG"; then
   13869 	_pkg_min_version=0.9.0
   13870 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   13871 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   13872 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13873 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13874 printf "%s\n" "yes" >&6; }
   13875 	else
   13876 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13877 printf "%s\n" "no" >&6; }
   13878 		PKG_CONFIG=""
   13879 	fi
   13880 fi
   13881 
   13882 
   13883 
   13884 
   13885 
   13886 # Check whether --enable-selective-werror was given.
   13887 if test ${enable_selective_werror+y}
   13888 then :
   13889   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   13890 else case e in #(
   13891   e) SELECTIVE_WERROR=yes ;;
   13892 esac
   13893 fi
   13894 
   13895 
   13896 
   13897 
   13898 
   13899 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   13900 if test "x$SUNCC" = "xyes"; then
   13901     BASE_CFLAGS="-v"
   13902 else
   13903     BASE_CFLAGS=""
   13904 fi
   13905 
   13906 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   13907 
   13908 
   13909 
   13910 
   13911 
   13912 
   13913 
   13914 
   13915 
   13916 
   13917 
   13918 
   13919 
   13920 xorg_testset_save_CFLAGS="$CFLAGS"
   13921 
   13922 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13923 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13924 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13925 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13926 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13927 then :
   13928   printf %s "(cached) " >&6
   13929 else case e in #(
   13930   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13931 /* end confdefs.h.  */
   13932 int i;
   13933 _ACEOF
   13934 if ac_fn_c_try_compile "$LINENO"
   13935 then :
   13936   xorg_cv_cc_flag_unknown_warning_option=yes
   13937 else case e in #(
   13938   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   13939 esac
   13940 fi
   13941 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13942 esac
   13943 fi
   13944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13945 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13946 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13947 	CFLAGS="$xorg_testset_save_CFLAGS"
   13948 fi
   13949 
   13950 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13951 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13952 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13953 	fi
   13954 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13955 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13956 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13957 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13958 then :
   13959   printf %s "(cached) " >&6
   13960 else case e in #(
   13961   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13962 /* end confdefs.h.  */
   13963 int i;
   13964 _ACEOF
   13965 if ac_fn_c_try_compile "$LINENO"
   13966 then :
   13967   xorg_cv_cc_flag_unused_command_line_argument=yes
   13968 else case e in #(
   13969   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   13970 esac
   13971 fi
   13972 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13973 esac
   13974 fi
   13975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13976 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13977 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13978 	CFLAGS="$xorg_testset_save_CFLAGS"
   13979 fi
   13980 
   13981 found="no"
   13982 
   13983 	if test $found = "no" ; then
   13984 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13985 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13986 		fi
   13987 
   13988 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13989 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13990 		fi
   13991 
   13992 		CFLAGS="$CFLAGS -Wall"
   13993 
   13994 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13995 printf %s "checking if $CC supports -Wall... " >&6; }
   13996 		cacheid=xorg_cv_cc_flag__Wall
   13997 		if eval test \${$cacheid+y}
   13998 then :
   13999   printf %s "(cached) " >&6
   14000 else case e in #(
   14001   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14002 /* end confdefs.h.  */
   14003 int i;
   14004 int
   14005 main (void)
   14006 {
   14007 
   14008   ;
   14009   return 0;
   14010 }
   14011 _ACEOF
   14012 if ac_fn_c_try_link "$LINENO"
   14013 then :
   14014   eval $cacheid=yes
   14015 else case e in #(
   14016   e) eval $cacheid=no ;;
   14017 esac
   14018 fi
   14019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14020     conftest$ac_exeext conftest.$ac_ext ;;
   14021 esac
   14022 fi
   14023 
   14024 
   14025 		CFLAGS="$xorg_testset_save_CFLAGS"
   14026 
   14027 		eval supported=\$$cacheid
   14028 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14029 printf "%s\n" "$supported" >&6; }
   14030 		if test "$supported" = "yes" ; then
   14031 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   14032 			found="yes"
   14033 		fi
   14034 	fi
   14035 
   14036 
   14037 
   14038 
   14039 
   14040 
   14041 
   14042 
   14043 
   14044 
   14045 
   14046 
   14047 
   14048 
   14049 
   14050 xorg_testset_save_CFLAGS="$CFLAGS"
   14051 
   14052 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14053 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14054 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14055 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14056 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14057 then :
   14058   printf %s "(cached) " >&6
   14059 else case e in #(
   14060   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14061 /* end confdefs.h.  */
   14062 int i;
   14063 _ACEOF
   14064 if ac_fn_c_try_compile "$LINENO"
   14065 then :
   14066   xorg_cv_cc_flag_unknown_warning_option=yes
   14067 else case e in #(
   14068   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14069 esac
   14070 fi
   14071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14072 esac
   14073 fi
   14074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14075 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14076 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14077 	CFLAGS="$xorg_testset_save_CFLAGS"
   14078 fi
   14079 
   14080 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14081 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14082 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14083 	fi
   14084 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14085 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14086 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14087 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14088 then :
   14089   printf %s "(cached) " >&6
   14090 else case e in #(
   14091   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14092 /* end confdefs.h.  */
   14093 int i;
   14094 _ACEOF
   14095 if ac_fn_c_try_compile "$LINENO"
   14096 then :
   14097   xorg_cv_cc_flag_unused_command_line_argument=yes
   14098 else case e in #(
   14099   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14100 esac
   14101 fi
   14102 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14103 esac
   14104 fi
   14105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14106 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14107 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14108 	CFLAGS="$xorg_testset_save_CFLAGS"
   14109 fi
   14110 
   14111 found="no"
   14112 
   14113 	if test $found = "no" ; then
   14114 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14115 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14116 		fi
   14117 
   14118 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14119 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14120 		fi
   14121 
   14122 		CFLAGS="$CFLAGS -Wpointer-arith"
   14123 
   14124 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   14125 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   14126 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   14127 		if eval test \${$cacheid+y}
   14128 then :
   14129   printf %s "(cached) " >&6
   14130 else case e in #(
   14131   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14132 /* end confdefs.h.  */
   14133 int i;
   14134 int
   14135 main (void)
   14136 {
   14137 
   14138   ;
   14139   return 0;
   14140 }
   14141 _ACEOF
   14142 if ac_fn_c_try_link "$LINENO"
   14143 then :
   14144   eval $cacheid=yes
   14145 else case e in #(
   14146   e) eval $cacheid=no ;;
   14147 esac
   14148 fi
   14149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14150     conftest$ac_exeext conftest.$ac_ext ;;
   14151 esac
   14152 fi
   14153 
   14154 
   14155 		CFLAGS="$xorg_testset_save_CFLAGS"
   14156 
   14157 		eval supported=\$$cacheid
   14158 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14159 printf "%s\n" "$supported" >&6; }
   14160 		if test "$supported" = "yes" ; then
   14161 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   14162 			found="yes"
   14163 		fi
   14164 	fi
   14165 
   14166 
   14167 
   14168 
   14169 
   14170 
   14171 
   14172 
   14173 
   14174 
   14175 
   14176 
   14177 
   14178 
   14179 
   14180 xorg_testset_save_CFLAGS="$CFLAGS"
   14181 
   14182 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14183 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14184 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14185 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14186 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14187 then :
   14188   printf %s "(cached) " >&6
   14189 else case e in #(
   14190   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14191 /* end confdefs.h.  */
   14192 int i;
   14193 _ACEOF
   14194 if ac_fn_c_try_compile "$LINENO"
   14195 then :
   14196   xorg_cv_cc_flag_unknown_warning_option=yes
   14197 else case e in #(
   14198   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14199 esac
   14200 fi
   14201 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14202 esac
   14203 fi
   14204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14205 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14206 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14207 	CFLAGS="$xorg_testset_save_CFLAGS"
   14208 fi
   14209 
   14210 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14211 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14212 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14213 	fi
   14214 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14215 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14216 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14217 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14218 then :
   14219   printf %s "(cached) " >&6
   14220 else case e in #(
   14221   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14222 /* end confdefs.h.  */
   14223 int i;
   14224 _ACEOF
   14225 if ac_fn_c_try_compile "$LINENO"
   14226 then :
   14227   xorg_cv_cc_flag_unused_command_line_argument=yes
   14228 else case e in #(
   14229   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14230 esac
   14231 fi
   14232 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14233 esac
   14234 fi
   14235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14236 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14237 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14238 	CFLAGS="$xorg_testset_save_CFLAGS"
   14239 fi
   14240 
   14241 found="no"
   14242 
   14243 	if test $found = "no" ; then
   14244 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14245 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14246 		fi
   14247 
   14248 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14249 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14250 		fi
   14251 
   14252 		CFLAGS="$CFLAGS -Wmissing-declarations"
   14253 
   14254 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   14255 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   14256 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   14257 		if eval test \${$cacheid+y}
   14258 then :
   14259   printf %s "(cached) " >&6
   14260 else case e in #(
   14261   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14262 /* end confdefs.h.  */
   14263 int i;
   14264 int
   14265 main (void)
   14266 {
   14267 
   14268   ;
   14269   return 0;
   14270 }
   14271 _ACEOF
   14272 if ac_fn_c_try_link "$LINENO"
   14273 then :
   14274   eval $cacheid=yes
   14275 else case e in #(
   14276   e) eval $cacheid=no ;;
   14277 esac
   14278 fi
   14279 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14280     conftest$ac_exeext conftest.$ac_ext ;;
   14281 esac
   14282 fi
   14283 
   14284 
   14285 		CFLAGS="$xorg_testset_save_CFLAGS"
   14286 
   14287 		eval supported=\$$cacheid
   14288 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14289 printf "%s\n" "$supported" >&6; }
   14290 		if test "$supported" = "yes" ; then
   14291 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   14292 			found="yes"
   14293 		fi
   14294 	fi
   14295 
   14296 
   14297 
   14298 
   14299 
   14300 
   14301 
   14302 
   14303 
   14304 
   14305 
   14306 
   14307 
   14308 
   14309 
   14310 xorg_testset_save_CFLAGS="$CFLAGS"
   14311 
   14312 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14313 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14314 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14315 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14316 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14317 then :
   14318   printf %s "(cached) " >&6
   14319 else case e in #(
   14320   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14321 /* end confdefs.h.  */
   14322 int i;
   14323 _ACEOF
   14324 if ac_fn_c_try_compile "$LINENO"
   14325 then :
   14326   xorg_cv_cc_flag_unknown_warning_option=yes
   14327 else case e in #(
   14328   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14329 esac
   14330 fi
   14331 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14332 esac
   14333 fi
   14334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14335 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14336 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14337 	CFLAGS="$xorg_testset_save_CFLAGS"
   14338 fi
   14339 
   14340 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14341 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14342 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14343 	fi
   14344 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14345 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14346 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14347 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14348 then :
   14349   printf %s "(cached) " >&6
   14350 else case e in #(
   14351   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14352 /* end confdefs.h.  */
   14353 int i;
   14354 _ACEOF
   14355 if ac_fn_c_try_compile "$LINENO"
   14356 then :
   14357   xorg_cv_cc_flag_unused_command_line_argument=yes
   14358 else case e in #(
   14359   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14360 esac
   14361 fi
   14362 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14363 esac
   14364 fi
   14365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14366 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14367 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14368 	CFLAGS="$xorg_testset_save_CFLAGS"
   14369 fi
   14370 
   14371 found="no"
   14372 
   14373 	if test $found = "no" ; then
   14374 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14375 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14376 		fi
   14377 
   14378 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14379 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14380 		fi
   14381 
   14382 		CFLAGS="$CFLAGS -Wformat=2"
   14383 
   14384 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   14385 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   14386 		cacheid=xorg_cv_cc_flag__Wformat_2
   14387 		if eval test \${$cacheid+y}
   14388 then :
   14389   printf %s "(cached) " >&6
   14390 else case e in #(
   14391   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14392 /* end confdefs.h.  */
   14393 int i;
   14394 int
   14395 main (void)
   14396 {
   14397 
   14398   ;
   14399   return 0;
   14400 }
   14401 _ACEOF
   14402 if ac_fn_c_try_link "$LINENO"
   14403 then :
   14404   eval $cacheid=yes
   14405 else case e in #(
   14406   e) eval $cacheid=no ;;
   14407 esac
   14408 fi
   14409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14410     conftest$ac_exeext conftest.$ac_ext ;;
   14411 esac
   14412 fi
   14413 
   14414 
   14415 		CFLAGS="$xorg_testset_save_CFLAGS"
   14416 
   14417 		eval supported=\$$cacheid
   14418 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14419 printf "%s\n" "$supported" >&6; }
   14420 		if test "$supported" = "yes" ; then
   14421 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   14422 			found="yes"
   14423 		fi
   14424 	fi
   14425 
   14426 	if test $found = "no" ; then
   14427 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14428 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14429 		fi
   14430 
   14431 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14432 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14433 		fi
   14434 
   14435 		CFLAGS="$CFLAGS -Wformat"
   14436 
   14437 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   14438 printf %s "checking if $CC supports -Wformat... " >&6; }
   14439 		cacheid=xorg_cv_cc_flag__Wformat
   14440 		if eval test \${$cacheid+y}
   14441 then :
   14442   printf %s "(cached) " >&6
   14443 else case e in #(
   14444   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14445 /* end confdefs.h.  */
   14446 int i;
   14447 int
   14448 main (void)
   14449 {
   14450 
   14451   ;
   14452   return 0;
   14453 }
   14454 _ACEOF
   14455 if ac_fn_c_try_link "$LINENO"
   14456 then :
   14457   eval $cacheid=yes
   14458 else case e in #(
   14459   e) eval $cacheid=no ;;
   14460 esac
   14461 fi
   14462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14463     conftest$ac_exeext conftest.$ac_ext ;;
   14464 esac
   14465 fi
   14466 
   14467 
   14468 		CFLAGS="$xorg_testset_save_CFLAGS"
   14469 
   14470 		eval supported=\$$cacheid
   14471 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14472 printf "%s\n" "$supported" >&6; }
   14473 		if test "$supported" = "yes" ; then
   14474 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   14475 			found="yes"
   14476 		fi
   14477 	fi
   14478 
   14479 
   14480 
   14481 
   14482 
   14483 
   14484 
   14485 
   14486 
   14487 
   14488 
   14489 
   14490 
   14491 
   14492 
   14493 
   14494 
   14495 xorg_testset_save_CFLAGS="$CFLAGS"
   14496 
   14497 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14498 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14499 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14500 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14501 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14502 then :
   14503   printf %s "(cached) " >&6
   14504 else case e in #(
   14505   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14506 /* end confdefs.h.  */
   14507 int i;
   14508 _ACEOF
   14509 if ac_fn_c_try_compile "$LINENO"
   14510 then :
   14511   xorg_cv_cc_flag_unknown_warning_option=yes
   14512 else case e in #(
   14513   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14514 esac
   14515 fi
   14516 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14517 esac
   14518 fi
   14519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14520 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14521 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14522 	CFLAGS="$xorg_testset_save_CFLAGS"
   14523 fi
   14524 
   14525 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14526 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14527 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14528 	fi
   14529 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14530 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14531 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14532 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14533 then :
   14534   printf %s "(cached) " >&6
   14535 else case e in #(
   14536   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14537 /* end confdefs.h.  */
   14538 int i;
   14539 _ACEOF
   14540 if ac_fn_c_try_compile "$LINENO"
   14541 then :
   14542   xorg_cv_cc_flag_unused_command_line_argument=yes
   14543 else case e in #(
   14544   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14545 esac
   14546 fi
   14547 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14548 esac
   14549 fi
   14550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14551 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14552 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14553 	CFLAGS="$xorg_testset_save_CFLAGS"
   14554 fi
   14555 
   14556 found="no"
   14557 
   14558 	if test $found = "no" ; then
   14559 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14560 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14561 		fi
   14562 
   14563 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14564 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14565 		fi
   14566 
   14567 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   14568 
   14569 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   14570 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   14571 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   14572 		if eval test \${$cacheid+y}
   14573 then :
   14574   printf %s "(cached) " >&6
   14575 else case e in #(
   14576   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14577 /* end confdefs.h.  */
   14578 int i;
   14579 int
   14580 main (void)
   14581 {
   14582 
   14583   ;
   14584   return 0;
   14585 }
   14586 _ACEOF
   14587 if ac_fn_c_try_link "$LINENO"
   14588 then :
   14589   eval $cacheid=yes
   14590 else case e in #(
   14591   e) eval $cacheid=no ;;
   14592 esac
   14593 fi
   14594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14595     conftest$ac_exeext conftest.$ac_ext ;;
   14596 esac
   14597 fi
   14598 
   14599 
   14600 		CFLAGS="$xorg_testset_save_CFLAGS"
   14601 
   14602 		eval supported=\$$cacheid
   14603 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14604 printf "%s\n" "$supported" >&6; }
   14605 		if test "$supported" = "yes" ; then
   14606 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   14607 			found="yes"
   14608 		fi
   14609 	fi
   14610 
   14611 
   14612 
   14613 
   14614 
   14615 
   14616 
   14617 
   14618 
   14619 
   14620 
   14621 
   14622 
   14623 
   14624 
   14625 xorg_testset_save_CFLAGS="$CFLAGS"
   14626 
   14627 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14628 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14629 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14630 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14631 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14632 then :
   14633   printf %s "(cached) " >&6
   14634 else case e in #(
   14635   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14636 /* end confdefs.h.  */
   14637 int i;
   14638 _ACEOF
   14639 if ac_fn_c_try_compile "$LINENO"
   14640 then :
   14641   xorg_cv_cc_flag_unknown_warning_option=yes
   14642 else case e in #(
   14643   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14644 esac
   14645 fi
   14646 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14647 esac
   14648 fi
   14649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14650 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14651 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14652 	CFLAGS="$xorg_testset_save_CFLAGS"
   14653 fi
   14654 
   14655 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14656 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14657 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14658 	fi
   14659 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14660 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14661 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14662 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14663 then :
   14664   printf %s "(cached) " >&6
   14665 else case e in #(
   14666   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14667 /* end confdefs.h.  */
   14668 int i;
   14669 _ACEOF
   14670 if ac_fn_c_try_compile "$LINENO"
   14671 then :
   14672   xorg_cv_cc_flag_unused_command_line_argument=yes
   14673 else case e in #(
   14674   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14675 esac
   14676 fi
   14677 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14678 esac
   14679 fi
   14680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14681 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14682 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14683 	CFLAGS="$xorg_testset_save_CFLAGS"
   14684 fi
   14685 
   14686 found="no"
   14687 
   14688 	if test $found = "no" ; then
   14689 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14690 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14691 		fi
   14692 
   14693 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14694 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14695 		fi
   14696 
   14697 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   14698 
   14699 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   14700 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   14701 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   14702 		if eval test \${$cacheid+y}
   14703 then :
   14704   printf %s "(cached) " >&6
   14705 else case e in #(
   14706   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14707 /* end confdefs.h.  */
   14708 int i;
   14709 int
   14710 main (void)
   14711 {
   14712 
   14713   ;
   14714   return 0;
   14715 }
   14716 _ACEOF
   14717 if ac_fn_c_try_link "$LINENO"
   14718 then :
   14719   eval $cacheid=yes
   14720 else case e in #(
   14721   e) eval $cacheid=no ;;
   14722 esac
   14723 fi
   14724 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14725     conftest$ac_exeext conftest.$ac_ext ;;
   14726 esac
   14727 fi
   14728 
   14729 
   14730 		CFLAGS="$xorg_testset_save_CFLAGS"
   14731 
   14732 		eval supported=\$$cacheid
   14733 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14734 printf "%s\n" "$supported" >&6; }
   14735 		if test "$supported" = "yes" ; then
   14736 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   14737 			found="yes"
   14738 		fi
   14739 	fi
   14740 
   14741 
   14742 
   14743 
   14744 
   14745 
   14746 
   14747 
   14748 
   14749 
   14750 
   14751 
   14752 
   14753 
   14754 
   14755 xorg_testset_save_CFLAGS="$CFLAGS"
   14756 
   14757 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14758 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14759 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14760 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14761 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14762 then :
   14763   printf %s "(cached) " >&6
   14764 else case e in #(
   14765   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14766 /* end confdefs.h.  */
   14767 int i;
   14768 _ACEOF
   14769 if ac_fn_c_try_compile "$LINENO"
   14770 then :
   14771   xorg_cv_cc_flag_unknown_warning_option=yes
   14772 else case e in #(
   14773   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14774 esac
   14775 fi
   14776 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14777 esac
   14778 fi
   14779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14780 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14781 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14782 	CFLAGS="$xorg_testset_save_CFLAGS"
   14783 fi
   14784 
   14785 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14786 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14787 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14788 	fi
   14789 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14790 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14791 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14792 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14793 then :
   14794   printf %s "(cached) " >&6
   14795 else case e in #(
   14796   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14797 /* end confdefs.h.  */
   14798 int i;
   14799 _ACEOF
   14800 if ac_fn_c_try_compile "$LINENO"
   14801 then :
   14802   xorg_cv_cc_flag_unused_command_line_argument=yes
   14803 else case e in #(
   14804   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14805 esac
   14806 fi
   14807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14808 esac
   14809 fi
   14810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14811 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14812 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14813 	CFLAGS="$xorg_testset_save_CFLAGS"
   14814 fi
   14815 
   14816 found="no"
   14817 
   14818 	if test $found = "no" ; then
   14819 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14820 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14821 		fi
   14822 
   14823 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14824 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14825 		fi
   14826 
   14827 		CFLAGS="$CFLAGS -Wnested-externs"
   14828 
   14829 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   14830 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   14831 		cacheid=xorg_cv_cc_flag__Wnested_externs
   14832 		if eval test \${$cacheid+y}
   14833 then :
   14834   printf %s "(cached) " >&6
   14835 else case e in #(
   14836   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14837 /* end confdefs.h.  */
   14838 int i;
   14839 int
   14840 main (void)
   14841 {
   14842 
   14843   ;
   14844   return 0;
   14845 }
   14846 _ACEOF
   14847 if ac_fn_c_try_link "$LINENO"
   14848 then :
   14849   eval $cacheid=yes
   14850 else case e in #(
   14851   e) eval $cacheid=no ;;
   14852 esac
   14853 fi
   14854 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14855     conftest$ac_exeext conftest.$ac_ext ;;
   14856 esac
   14857 fi
   14858 
   14859 
   14860 		CFLAGS="$xorg_testset_save_CFLAGS"
   14861 
   14862 		eval supported=\$$cacheid
   14863 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14864 printf "%s\n" "$supported" >&6; }
   14865 		if test "$supported" = "yes" ; then
   14866 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   14867 			found="yes"
   14868 		fi
   14869 	fi
   14870 
   14871 
   14872 
   14873 
   14874 
   14875 
   14876 
   14877 
   14878 
   14879 
   14880 
   14881 
   14882 
   14883 
   14884 
   14885 xorg_testset_save_CFLAGS="$CFLAGS"
   14886 
   14887 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14888 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14889 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14890 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14891 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14892 then :
   14893   printf %s "(cached) " >&6
   14894 else case e in #(
   14895   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14896 /* end confdefs.h.  */
   14897 int i;
   14898 _ACEOF
   14899 if ac_fn_c_try_compile "$LINENO"
   14900 then :
   14901   xorg_cv_cc_flag_unknown_warning_option=yes
   14902 else case e in #(
   14903   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14904 esac
   14905 fi
   14906 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14907 esac
   14908 fi
   14909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14910 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14911 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14912 	CFLAGS="$xorg_testset_save_CFLAGS"
   14913 fi
   14914 
   14915 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14916 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14917 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14918 	fi
   14919 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14920 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14921 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14922 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14923 then :
   14924   printf %s "(cached) " >&6
   14925 else case e in #(
   14926   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14927 /* end confdefs.h.  */
   14928 int i;
   14929 _ACEOF
   14930 if ac_fn_c_try_compile "$LINENO"
   14931 then :
   14932   xorg_cv_cc_flag_unused_command_line_argument=yes
   14933 else case e in #(
   14934   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14935 esac
   14936 fi
   14937 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14938 esac
   14939 fi
   14940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14941 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14942 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14943 	CFLAGS="$xorg_testset_save_CFLAGS"
   14944 fi
   14945 
   14946 found="no"
   14947 
   14948 	if test $found = "no" ; then
   14949 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14950 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14951 		fi
   14952 
   14953 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14954 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14955 		fi
   14956 
   14957 		CFLAGS="$CFLAGS -Wbad-function-cast"
   14958 
   14959 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   14960 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   14961 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   14962 		if eval test \${$cacheid+y}
   14963 then :
   14964   printf %s "(cached) " >&6
   14965 else case e in #(
   14966   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14967 /* end confdefs.h.  */
   14968 int i;
   14969 int
   14970 main (void)
   14971 {
   14972 
   14973   ;
   14974   return 0;
   14975 }
   14976 _ACEOF
   14977 if ac_fn_c_try_link "$LINENO"
   14978 then :
   14979   eval $cacheid=yes
   14980 else case e in #(
   14981   e) eval $cacheid=no ;;
   14982 esac
   14983 fi
   14984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14985     conftest$ac_exeext conftest.$ac_ext ;;
   14986 esac
   14987 fi
   14988 
   14989 
   14990 		CFLAGS="$xorg_testset_save_CFLAGS"
   14991 
   14992 		eval supported=\$$cacheid
   14993 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14994 printf "%s\n" "$supported" >&6; }
   14995 		if test "$supported" = "yes" ; then
   14996 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14997 			found="yes"
   14998 		fi
   14999 	fi
   15000 
   15001 
   15002 
   15003 
   15004 
   15005 
   15006 
   15007 
   15008 
   15009 
   15010 
   15011 
   15012 
   15013 
   15014 
   15015 xorg_testset_save_CFLAGS="$CFLAGS"
   15016 
   15017 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15018 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15019 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15020 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15021 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15022 then :
   15023   printf %s "(cached) " >&6
   15024 else case e in #(
   15025   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15026 /* end confdefs.h.  */
   15027 int i;
   15028 _ACEOF
   15029 if ac_fn_c_try_compile "$LINENO"
   15030 then :
   15031   xorg_cv_cc_flag_unknown_warning_option=yes
   15032 else case e in #(
   15033   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15034 esac
   15035 fi
   15036 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15037 esac
   15038 fi
   15039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15040 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15041 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15042 	CFLAGS="$xorg_testset_save_CFLAGS"
   15043 fi
   15044 
   15045 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15046 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15047 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15048 	fi
   15049 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15050 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15051 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15052 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15053 then :
   15054   printf %s "(cached) " >&6
   15055 else case e in #(
   15056   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15057 /* end confdefs.h.  */
   15058 int i;
   15059 _ACEOF
   15060 if ac_fn_c_try_compile "$LINENO"
   15061 then :
   15062   xorg_cv_cc_flag_unused_command_line_argument=yes
   15063 else case e in #(
   15064   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15065 esac
   15066 fi
   15067 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15068 esac
   15069 fi
   15070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15071 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15072 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15073 	CFLAGS="$xorg_testset_save_CFLAGS"
   15074 fi
   15075 
   15076 found="no"
   15077 
   15078 	if test $found = "no" ; then
   15079 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15080 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15081 		fi
   15082 
   15083 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15084 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15085 		fi
   15086 
   15087 		CFLAGS="$CFLAGS -Wold-style-definition"
   15088 
   15089 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   15090 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   15091 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   15092 		if eval test \${$cacheid+y}
   15093 then :
   15094   printf %s "(cached) " >&6
   15095 else case e in #(
   15096   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15097 /* end confdefs.h.  */
   15098 int i;
   15099 int
   15100 main (void)
   15101 {
   15102 
   15103   ;
   15104   return 0;
   15105 }
   15106 _ACEOF
   15107 if ac_fn_c_try_link "$LINENO"
   15108 then :
   15109   eval $cacheid=yes
   15110 else case e in #(
   15111   e) eval $cacheid=no ;;
   15112 esac
   15113 fi
   15114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15115     conftest$ac_exeext conftest.$ac_ext ;;
   15116 esac
   15117 fi
   15118 
   15119 
   15120 		CFLAGS="$xorg_testset_save_CFLAGS"
   15121 
   15122 		eval supported=\$$cacheid
   15123 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15124 printf "%s\n" "$supported" >&6; }
   15125 		if test "$supported" = "yes" ; then
   15126 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   15127 			found="yes"
   15128 		fi
   15129 	fi
   15130 
   15131 	if test $found = "no" ; then
   15132 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15133 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15134 		fi
   15135 
   15136 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15137 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15138 		fi
   15139 
   15140 		CFLAGS="$CFLAGS -fd"
   15141 
   15142 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   15143 printf %s "checking if $CC supports -fd... " >&6; }
   15144 		cacheid=xorg_cv_cc_flag__fd
   15145 		if eval test \${$cacheid+y}
   15146 then :
   15147   printf %s "(cached) " >&6
   15148 else case e in #(
   15149   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15150 /* end confdefs.h.  */
   15151 int i;
   15152 int
   15153 main (void)
   15154 {
   15155 
   15156   ;
   15157   return 0;
   15158 }
   15159 _ACEOF
   15160 if ac_fn_c_try_link "$LINENO"
   15161 then :
   15162   eval $cacheid=yes
   15163 else case e in #(
   15164   e) eval $cacheid=no ;;
   15165 esac
   15166 fi
   15167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15168     conftest$ac_exeext conftest.$ac_ext ;;
   15169 esac
   15170 fi
   15171 
   15172 
   15173 		CFLAGS="$xorg_testset_save_CFLAGS"
   15174 
   15175 		eval supported=\$$cacheid
   15176 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15177 printf "%s\n" "$supported" >&6; }
   15178 		if test "$supported" = "yes" ; then
   15179 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   15180 			found="yes"
   15181 		fi
   15182 	fi
   15183 
   15184 
   15185 
   15186 
   15187 
   15188 # This chunk adds additional warnings that could catch undesired effects.
   15189 
   15190 
   15191 
   15192 
   15193 
   15194 
   15195 
   15196 
   15197 
   15198 
   15199 
   15200 
   15201 
   15202 xorg_testset_save_CFLAGS="$CFLAGS"
   15203 
   15204 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15205 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15206 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15207 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15208 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15209 then :
   15210   printf %s "(cached) " >&6
   15211 else case e in #(
   15212   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15213 /* end confdefs.h.  */
   15214 int i;
   15215 _ACEOF
   15216 if ac_fn_c_try_compile "$LINENO"
   15217 then :
   15218   xorg_cv_cc_flag_unknown_warning_option=yes
   15219 else case e in #(
   15220   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15221 esac
   15222 fi
   15223 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15224 esac
   15225 fi
   15226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15227 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15228 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15229 	CFLAGS="$xorg_testset_save_CFLAGS"
   15230 fi
   15231 
   15232 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15233 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15234 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15235 	fi
   15236 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15237 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15238 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15239 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15240 then :
   15241   printf %s "(cached) " >&6
   15242 else case e in #(
   15243   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15244 /* end confdefs.h.  */
   15245 int i;
   15246 _ACEOF
   15247 if ac_fn_c_try_compile "$LINENO"
   15248 then :
   15249   xorg_cv_cc_flag_unused_command_line_argument=yes
   15250 else case e in #(
   15251   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15252 esac
   15253 fi
   15254 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15255 esac
   15256 fi
   15257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15258 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15259 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15260 	CFLAGS="$xorg_testset_save_CFLAGS"
   15261 fi
   15262 
   15263 found="no"
   15264 
   15265 	if test $found = "no" ; then
   15266 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15267 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15268 		fi
   15269 
   15270 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15271 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15272 		fi
   15273 
   15274 		CFLAGS="$CFLAGS -Wunused"
   15275 
   15276 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   15277 printf %s "checking if $CC supports -Wunused... " >&6; }
   15278 		cacheid=xorg_cv_cc_flag__Wunused
   15279 		if eval test \${$cacheid+y}
   15280 then :
   15281   printf %s "(cached) " >&6
   15282 else case e in #(
   15283   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15284 /* end confdefs.h.  */
   15285 int i;
   15286 int
   15287 main (void)
   15288 {
   15289 
   15290   ;
   15291   return 0;
   15292 }
   15293 _ACEOF
   15294 if ac_fn_c_try_link "$LINENO"
   15295 then :
   15296   eval $cacheid=yes
   15297 else case e in #(
   15298   e) eval $cacheid=no ;;
   15299 esac
   15300 fi
   15301 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15302     conftest$ac_exeext conftest.$ac_ext ;;
   15303 esac
   15304 fi
   15305 
   15306 
   15307 		CFLAGS="$xorg_testset_save_CFLAGS"
   15308 
   15309 		eval supported=\$$cacheid
   15310 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15311 printf "%s\n" "$supported" >&6; }
   15312 		if test "$supported" = "yes" ; then
   15313 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   15314 			found="yes"
   15315 		fi
   15316 	fi
   15317 
   15318 
   15319 
   15320 
   15321 
   15322 
   15323 
   15324 
   15325 
   15326 
   15327 
   15328 
   15329 
   15330 
   15331 
   15332 xorg_testset_save_CFLAGS="$CFLAGS"
   15333 
   15334 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15335 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15336 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15337 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15338 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15339 then :
   15340   printf %s "(cached) " >&6
   15341 else case e in #(
   15342   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15343 /* end confdefs.h.  */
   15344 int i;
   15345 _ACEOF
   15346 if ac_fn_c_try_compile "$LINENO"
   15347 then :
   15348   xorg_cv_cc_flag_unknown_warning_option=yes
   15349 else case e in #(
   15350   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15351 esac
   15352 fi
   15353 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15354 esac
   15355 fi
   15356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15357 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15358 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15359 	CFLAGS="$xorg_testset_save_CFLAGS"
   15360 fi
   15361 
   15362 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15363 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15364 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15365 	fi
   15366 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15367 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15368 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15369 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15370 then :
   15371   printf %s "(cached) " >&6
   15372 else case e in #(
   15373   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15374 /* end confdefs.h.  */
   15375 int i;
   15376 _ACEOF
   15377 if ac_fn_c_try_compile "$LINENO"
   15378 then :
   15379   xorg_cv_cc_flag_unused_command_line_argument=yes
   15380 else case e in #(
   15381   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15382 esac
   15383 fi
   15384 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15385 esac
   15386 fi
   15387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15388 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15389 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15390 	CFLAGS="$xorg_testset_save_CFLAGS"
   15391 fi
   15392 
   15393 found="no"
   15394 
   15395 	if test $found = "no" ; then
   15396 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15397 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15398 		fi
   15399 
   15400 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15401 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15402 		fi
   15403 
   15404 		CFLAGS="$CFLAGS -Wuninitialized"
   15405 
   15406 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   15407 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   15408 		cacheid=xorg_cv_cc_flag__Wuninitialized
   15409 		if eval test \${$cacheid+y}
   15410 then :
   15411   printf %s "(cached) " >&6
   15412 else case e in #(
   15413   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15414 /* end confdefs.h.  */
   15415 int i;
   15416 int
   15417 main (void)
   15418 {
   15419 
   15420   ;
   15421   return 0;
   15422 }
   15423 _ACEOF
   15424 if ac_fn_c_try_link "$LINENO"
   15425 then :
   15426   eval $cacheid=yes
   15427 else case e in #(
   15428   e) eval $cacheid=no ;;
   15429 esac
   15430 fi
   15431 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15432     conftest$ac_exeext conftest.$ac_ext ;;
   15433 esac
   15434 fi
   15435 
   15436 
   15437 		CFLAGS="$xorg_testset_save_CFLAGS"
   15438 
   15439 		eval supported=\$$cacheid
   15440 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15441 printf "%s\n" "$supported" >&6; }
   15442 		if test "$supported" = "yes" ; then
   15443 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   15444 			found="yes"
   15445 		fi
   15446 	fi
   15447 
   15448 
   15449 
   15450 
   15451 
   15452 
   15453 
   15454 
   15455 
   15456 
   15457 
   15458 
   15459 
   15460 
   15461 
   15462 xorg_testset_save_CFLAGS="$CFLAGS"
   15463 
   15464 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15465 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15466 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15467 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15468 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15469 then :
   15470   printf %s "(cached) " >&6
   15471 else case e in #(
   15472   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15473 /* end confdefs.h.  */
   15474 int i;
   15475 _ACEOF
   15476 if ac_fn_c_try_compile "$LINENO"
   15477 then :
   15478   xorg_cv_cc_flag_unknown_warning_option=yes
   15479 else case e in #(
   15480   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15481 esac
   15482 fi
   15483 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15484 esac
   15485 fi
   15486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15487 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15488 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15489 	CFLAGS="$xorg_testset_save_CFLAGS"
   15490 fi
   15491 
   15492 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15493 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15494 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15495 	fi
   15496 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15497 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15498 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15499 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15500 then :
   15501   printf %s "(cached) " >&6
   15502 else case e in #(
   15503   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15504 /* end confdefs.h.  */
   15505 int i;
   15506 _ACEOF
   15507 if ac_fn_c_try_compile "$LINENO"
   15508 then :
   15509   xorg_cv_cc_flag_unused_command_line_argument=yes
   15510 else case e in #(
   15511   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15512 esac
   15513 fi
   15514 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15515 esac
   15516 fi
   15517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15518 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15519 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15520 	CFLAGS="$xorg_testset_save_CFLAGS"
   15521 fi
   15522 
   15523 found="no"
   15524 
   15525 	if test $found = "no" ; then
   15526 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15527 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15528 		fi
   15529 
   15530 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15531 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15532 		fi
   15533 
   15534 		CFLAGS="$CFLAGS -Wshadow"
   15535 
   15536 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   15537 printf %s "checking if $CC supports -Wshadow... " >&6; }
   15538 		cacheid=xorg_cv_cc_flag__Wshadow
   15539 		if eval test \${$cacheid+y}
   15540 then :
   15541   printf %s "(cached) " >&6
   15542 else case e in #(
   15543   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15544 /* end confdefs.h.  */
   15545 int i;
   15546 int
   15547 main (void)
   15548 {
   15549 
   15550   ;
   15551   return 0;
   15552 }
   15553 _ACEOF
   15554 if ac_fn_c_try_link "$LINENO"
   15555 then :
   15556   eval $cacheid=yes
   15557 else case e in #(
   15558   e) eval $cacheid=no ;;
   15559 esac
   15560 fi
   15561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15562     conftest$ac_exeext conftest.$ac_ext ;;
   15563 esac
   15564 fi
   15565 
   15566 
   15567 		CFLAGS="$xorg_testset_save_CFLAGS"
   15568 
   15569 		eval supported=\$$cacheid
   15570 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15571 printf "%s\n" "$supported" >&6; }
   15572 		if test "$supported" = "yes" ; then
   15573 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   15574 			found="yes"
   15575 		fi
   15576 	fi
   15577 
   15578 
   15579 
   15580 
   15581 
   15582 
   15583 
   15584 
   15585 
   15586 
   15587 
   15588 
   15589 
   15590 
   15591 
   15592 xorg_testset_save_CFLAGS="$CFLAGS"
   15593 
   15594 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15595 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15596 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15597 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15598 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15599 then :
   15600   printf %s "(cached) " >&6
   15601 else case e in #(
   15602   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15603 /* end confdefs.h.  */
   15604 int i;
   15605 _ACEOF
   15606 if ac_fn_c_try_compile "$LINENO"
   15607 then :
   15608   xorg_cv_cc_flag_unknown_warning_option=yes
   15609 else case e in #(
   15610   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15611 esac
   15612 fi
   15613 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15614 esac
   15615 fi
   15616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15617 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15618 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15619 	CFLAGS="$xorg_testset_save_CFLAGS"
   15620 fi
   15621 
   15622 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15623 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15624 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15625 	fi
   15626 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15627 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15628 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15629 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15630 then :
   15631   printf %s "(cached) " >&6
   15632 else case e in #(
   15633   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15634 /* end confdefs.h.  */
   15635 int i;
   15636 _ACEOF
   15637 if ac_fn_c_try_compile "$LINENO"
   15638 then :
   15639   xorg_cv_cc_flag_unused_command_line_argument=yes
   15640 else case e in #(
   15641   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15642 esac
   15643 fi
   15644 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15645 esac
   15646 fi
   15647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15648 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15649 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15650 	CFLAGS="$xorg_testset_save_CFLAGS"
   15651 fi
   15652 
   15653 found="no"
   15654 
   15655 	if test $found = "no" ; then
   15656 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15657 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15658 		fi
   15659 
   15660 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15661 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15662 		fi
   15663 
   15664 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   15665 
   15666 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   15667 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   15668 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   15669 		if eval test \${$cacheid+y}
   15670 then :
   15671   printf %s "(cached) " >&6
   15672 else case e in #(
   15673   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15674 /* end confdefs.h.  */
   15675 int i;
   15676 int
   15677 main (void)
   15678 {
   15679 
   15680   ;
   15681   return 0;
   15682 }
   15683 _ACEOF
   15684 if ac_fn_c_try_link "$LINENO"
   15685 then :
   15686   eval $cacheid=yes
   15687 else case e in #(
   15688   e) eval $cacheid=no ;;
   15689 esac
   15690 fi
   15691 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15692     conftest$ac_exeext conftest.$ac_ext ;;
   15693 esac
   15694 fi
   15695 
   15696 
   15697 		CFLAGS="$xorg_testset_save_CFLAGS"
   15698 
   15699 		eval supported=\$$cacheid
   15700 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15701 printf "%s\n" "$supported" >&6; }
   15702 		if test "$supported" = "yes" ; then
   15703 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   15704 			found="yes"
   15705 		fi
   15706 	fi
   15707 
   15708 
   15709 
   15710 
   15711 
   15712 
   15713 
   15714 
   15715 
   15716 
   15717 
   15718 
   15719 
   15720 
   15721 
   15722 xorg_testset_save_CFLAGS="$CFLAGS"
   15723 
   15724 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15725 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15726 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15727 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15728 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15729 then :
   15730   printf %s "(cached) " >&6
   15731 else case e in #(
   15732   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15733 /* end confdefs.h.  */
   15734 int i;
   15735 _ACEOF
   15736 if ac_fn_c_try_compile "$LINENO"
   15737 then :
   15738   xorg_cv_cc_flag_unknown_warning_option=yes
   15739 else case e in #(
   15740   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15741 esac
   15742 fi
   15743 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15744 esac
   15745 fi
   15746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15747 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15748 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15749 	CFLAGS="$xorg_testset_save_CFLAGS"
   15750 fi
   15751 
   15752 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15753 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15754 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15755 	fi
   15756 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15757 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15758 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15759 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15760 then :
   15761   printf %s "(cached) " >&6
   15762 else case e in #(
   15763   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15764 /* end confdefs.h.  */
   15765 int i;
   15766 _ACEOF
   15767 if ac_fn_c_try_compile "$LINENO"
   15768 then :
   15769   xorg_cv_cc_flag_unused_command_line_argument=yes
   15770 else case e in #(
   15771   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15772 esac
   15773 fi
   15774 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15775 esac
   15776 fi
   15777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15778 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15779 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15780 	CFLAGS="$xorg_testset_save_CFLAGS"
   15781 fi
   15782 
   15783 found="no"
   15784 
   15785 	if test $found = "no" ; then
   15786 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15787 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15788 		fi
   15789 
   15790 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15791 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15792 		fi
   15793 
   15794 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   15795 
   15796 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   15797 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   15798 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   15799 		if eval test \${$cacheid+y}
   15800 then :
   15801   printf %s "(cached) " >&6
   15802 else case e in #(
   15803   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15804 /* end confdefs.h.  */
   15805 int i;
   15806 int
   15807 main (void)
   15808 {
   15809 
   15810   ;
   15811   return 0;
   15812 }
   15813 _ACEOF
   15814 if ac_fn_c_try_link "$LINENO"
   15815 then :
   15816   eval $cacheid=yes
   15817 else case e in #(
   15818   e) eval $cacheid=no ;;
   15819 esac
   15820 fi
   15821 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15822     conftest$ac_exeext conftest.$ac_ext ;;
   15823 esac
   15824 fi
   15825 
   15826 
   15827 		CFLAGS="$xorg_testset_save_CFLAGS"
   15828 
   15829 		eval supported=\$$cacheid
   15830 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15831 printf "%s\n" "$supported" >&6; }
   15832 		if test "$supported" = "yes" ; then
   15833 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   15834 			found="yes"
   15835 		fi
   15836 	fi
   15837 
   15838 
   15839 
   15840 
   15841 
   15842 
   15843 
   15844 
   15845 
   15846 
   15847 
   15848 
   15849 
   15850 
   15851 
   15852 xorg_testset_save_CFLAGS="$CFLAGS"
   15853 
   15854 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15855 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15856 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15857 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15858 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15859 then :
   15860   printf %s "(cached) " >&6
   15861 else case e in #(
   15862   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15863 /* end confdefs.h.  */
   15864 int i;
   15865 _ACEOF
   15866 if ac_fn_c_try_compile "$LINENO"
   15867 then :
   15868   xorg_cv_cc_flag_unknown_warning_option=yes
   15869 else case e in #(
   15870   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15871 esac
   15872 fi
   15873 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15874 esac
   15875 fi
   15876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15877 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15878 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15879 	CFLAGS="$xorg_testset_save_CFLAGS"
   15880 fi
   15881 
   15882 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15883 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15884 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15885 	fi
   15886 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15887 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15888 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15889 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15890 then :
   15891   printf %s "(cached) " >&6
   15892 else case e in #(
   15893   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15894 /* end confdefs.h.  */
   15895 int i;
   15896 _ACEOF
   15897 if ac_fn_c_try_compile "$LINENO"
   15898 then :
   15899   xorg_cv_cc_flag_unused_command_line_argument=yes
   15900 else case e in #(
   15901   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15902 esac
   15903 fi
   15904 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15905 esac
   15906 fi
   15907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15908 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15909 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15910 	CFLAGS="$xorg_testset_save_CFLAGS"
   15911 fi
   15912 
   15913 found="no"
   15914 
   15915 	if test $found = "no" ; then
   15916 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15917 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15918 		fi
   15919 
   15920 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15921 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15922 		fi
   15923 
   15924 		CFLAGS="$CFLAGS -Wredundant-decls"
   15925 
   15926 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15927 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   15928 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15929 		if eval test \${$cacheid+y}
   15930 then :
   15931   printf %s "(cached) " >&6
   15932 else case e in #(
   15933   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15934 /* end confdefs.h.  */
   15935 int i;
   15936 int
   15937 main (void)
   15938 {
   15939 
   15940   ;
   15941   return 0;
   15942 }
   15943 _ACEOF
   15944 if ac_fn_c_try_link "$LINENO"
   15945 then :
   15946   eval $cacheid=yes
   15947 else case e in #(
   15948   e) eval $cacheid=no ;;
   15949 esac
   15950 fi
   15951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15952     conftest$ac_exeext conftest.$ac_ext ;;
   15953 esac
   15954 fi
   15955 
   15956 
   15957 		CFLAGS="$xorg_testset_save_CFLAGS"
   15958 
   15959 		eval supported=\$$cacheid
   15960 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15961 printf "%s\n" "$supported" >&6; }
   15962 		if test "$supported" = "yes" ; then
   15963 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15964 			found="yes"
   15965 		fi
   15966 	fi
   15967 
   15968 
   15969 
   15970 
   15971 
   15972 
   15973 
   15974 
   15975 
   15976 
   15977 
   15978 
   15979 
   15980 
   15981 
   15982 xorg_testset_save_CFLAGS="$CFLAGS"
   15983 
   15984 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15985 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15986 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15987 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15988 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15989 then :
   15990   printf %s "(cached) " >&6
   15991 else case e in #(
   15992   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15993 /* end confdefs.h.  */
   15994 int i;
   15995 _ACEOF
   15996 if ac_fn_c_try_compile "$LINENO"
   15997 then :
   15998   xorg_cv_cc_flag_unknown_warning_option=yes
   15999 else case e in #(
   16000   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16001 esac
   16002 fi
   16003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16004 esac
   16005 fi
   16006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16007 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16008 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16009 	CFLAGS="$xorg_testset_save_CFLAGS"
   16010 fi
   16011 
   16012 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16013 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16014 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16015 	fi
   16016 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16017 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16018 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16019 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16020 then :
   16021   printf %s "(cached) " >&6
   16022 else case e in #(
   16023   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16024 /* end confdefs.h.  */
   16025 int i;
   16026 _ACEOF
   16027 if ac_fn_c_try_compile "$LINENO"
   16028 then :
   16029   xorg_cv_cc_flag_unused_command_line_argument=yes
   16030 else case e in #(
   16031   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16032 esac
   16033 fi
   16034 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16035 esac
   16036 fi
   16037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16038 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16039 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16040 	CFLAGS="$xorg_testset_save_CFLAGS"
   16041 fi
   16042 
   16043 found="no"
   16044 
   16045 	if test $found = "no" ; then
   16046 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16047 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16048 		fi
   16049 
   16050 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16051 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16052 		fi
   16053 
   16054 		CFLAGS="$CFLAGS -Wlogical-op"
   16055 
   16056 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   16057 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   16058 		cacheid=xorg_cv_cc_flag__Wlogical_op
   16059 		if eval test \${$cacheid+y}
   16060 then :
   16061   printf %s "(cached) " >&6
   16062 else case e in #(
   16063   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16064 /* end confdefs.h.  */
   16065 int i;
   16066 int
   16067 main (void)
   16068 {
   16069 
   16070   ;
   16071   return 0;
   16072 }
   16073 _ACEOF
   16074 if ac_fn_c_try_link "$LINENO"
   16075 then :
   16076   eval $cacheid=yes
   16077 else case e in #(
   16078   e) eval $cacheid=no ;;
   16079 esac
   16080 fi
   16081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16082     conftest$ac_exeext conftest.$ac_ext ;;
   16083 esac
   16084 fi
   16085 
   16086 
   16087 		CFLAGS="$xorg_testset_save_CFLAGS"
   16088 
   16089 		eval supported=\$$cacheid
   16090 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16091 printf "%s\n" "$supported" >&6; }
   16092 		if test "$supported" = "yes" ; then
   16093 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   16094 			found="yes"
   16095 		fi
   16096 	fi
   16097 
   16098 
   16099 
   16100 # These are currently disabled because they are noisy.  They will be enabled
   16101 # in the future once the codebase is sufficiently modernized to silence
   16102 # them.  For now, I don't want them to drown out the other warnings.
   16103 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   16104 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   16105 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   16106 
   16107 # Turn some warnings into errors, so we don't accidentally get successful builds
   16108 # when there are problems that should be fixed.
   16109 
   16110 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   16111 
   16112 
   16113 
   16114 
   16115 
   16116 
   16117 
   16118 
   16119 
   16120 
   16121 
   16122 
   16123 
   16124 xorg_testset_save_CFLAGS="$CFLAGS"
   16125 
   16126 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16127 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16128 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16129 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16130 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16131 then :
   16132   printf %s "(cached) " >&6
   16133 else case e in #(
   16134   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16135 /* end confdefs.h.  */
   16136 int i;
   16137 _ACEOF
   16138 if ac_fn_c_try_compile "$LINENO"
   16139 then :
   16140   xorg_cv_cc_flag_unknown_warning_option=yes
   16141 else case e in #(
   16142   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16143 esac
   16144 fi
   16145 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16146 esac
   16147 fi
   16148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16149 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16150 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16151 	CFLAGS="$xorg_testset_save_CFLAGS"
   16152 fi
   16153 
   16154 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16155 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16156 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16157 	fi
   16158 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16159 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16160 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16161 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16162 then :
   16163   printf %s "(cached) " >&6
   16164 else case e in #(
   16165   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16166 /* end confdefs.h.  */
   16167 int i;
   16168 _ACEOF
   16169 if ac_fn_c_try_compile "$LINENO"
   16170 then :
   16171   xorg_cv_cc_flag_unused_command_line_argument=yes
   16172 else case e in #(
   16173   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16174 esac
   16175 fi
   16176 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16177 esac
   16178 fi
   16179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16180 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16181 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16182 	CFLAGS="$xorg_testset_save_CFLAGS"
   16183 fi
   16184 
   16185 found="no"
   16186 
   16187 	if test $found = "no" ; then
   16188 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16189 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16190 		fi
   16191 
   16192 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16193 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16194 		fi
   16195 
   16196 		CFLAGS="$CFLAGS -Werror=implicit"
   16197 
   16198 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   16199 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   16200 		cacheid=xorg_cv_cc_flag__Werror_implicit
   16201 		if eval test \${$cacheid+y}
   16202 then :
   16203   printf %s "(cached) " >&6
   16204 else case e in #(
   16205   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16206 /* end confdefs.h.  */
   16207 int i;
   16208 int
   16209 main (void)
   16210 {
   16211 
   16212   ;
   16213   return 0;
   16214 }
   16215 _ACEOF
   16216 if ac_fn_c_try_link "$LINENO"
   16217 then :
   16218   eval $cacheid=yes
   16219 else case e in #(
   16220   e) eval $cacheid=no ;;
   16221 esac
   16222 fi
   16223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16224     conftest$ac_exeext conftest.$ac_ext ;;
   16225 esac
   16226 fi
   16227 
   16228 
   16229 		CFLAGS="$xorg_testset_save_CFLAGS"
   16230 
   16231 		eval supported=\$$cacheid
   16232 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16233 printf "%s\n" "$supported" >&6; }
   16234 		if test "$supported" = "yes" ; then
   16235 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   16236 			found="yes"
   16237 		fi
   16238 	fi
   16239 
   16240 	if test $found = "no" ; then
   16241 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16242 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16243 		fi
   16244 
   16245 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16246 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16247 		fi
   16248 
   16249 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16250 
   16251 		{ 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
   16252 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   16253 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   16254 		if eval test \${$cacheid+y}
   16255 then :
   16256   printf %s "(cached) " >&6
   16257 else case e in #(
   16258   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16259 /* end confdefs.h.  */
   16260 int i;
   16261 int
   16262 main (void)
   16263 {
   16264 
   16265   ;
   16266   return 0;
   16267 }
   16268 _ACEOF
   16269 if ac_fn_c_try_link "$LINENO"
   16270 then :
   16271   eval $cacheid=yes
   16272 else case e in #(
   16273   e) eval $cacheid=no ;;
   16274 esac
   16275 fi
   16276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16277     conftest$ac_exeext conftest.$ac_ext ;;
   16278 esac
   16279 fi
   16280 
   16281 
   16282 		CFLAGS="$xorg_testset_save_CFLAGS"
   16283 
   16284 		eval supported=\$$cacheid
   16285 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16286 printf "%s\n" "$supported" >&6; }
   16287 		if test "$supported" = "yes" ; then
   16288 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16289 			found="yes"
   16290 		fi
   16291 	fi
   16292 
   16293 
   16294 
   16295 
   16296 
   16297 
   16298 
   16299 
   16300 
   16301 
   16302 
   16303 
   16304 
   16305 
   16306 
   16307 xorg_testset_save_CFLAGS="$CFLAGS"
   16308 
   16309 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16310 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16311 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16312 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16313 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16314 then :
   16315   printf %s "(cached) " >&6
   16316 else case e in #(
   16317   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16318 /* end confdefs.h.  */
   16319 int i;
   16320 _ACEOF
   16321 if ac_fn_c_try_compile "$LINENO"
   16322 then :
   16323   xorg_cv_cc_flag_unknown_warning_option=yes
   16324 else case e in #(
   16325   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16326 esac
   16327 fi
   16328 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16329 esac
   16330 fi
   16331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16332 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16333 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16334 	CFLAGS="$xorg_testset_save_CFLAGS"
   16335 fi
   16336 
   16337 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16338 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16339 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16340 	fi
   16341 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16342 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16343 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16344 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16345 then :
   16346   printf %s "(cached) " >&6
   16347 else case e in #(
   16348   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16349 /* end confdefs.h.  */
   16350 int i;
   16351 _ACEOF
   16352 if ac_fn_c_try_compile "$LINENO"
   16353 then :
   16354   xorg_cv_cc_flag_unused_command_line_argument=yes
   16355 else case e in #(
   16356   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16357 esac
   16358 fi
   16359 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16360 esac
   16361 fi
   16362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16363 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16364 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16365 	CFLAGS="$xorg_testset_save_CFLAGS"
   16366 fi
   16367 
   16368 found="no"
   16369 
   16370 	if test $found = "no" ; then
   16371 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16372 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16373 		fi
   16374 
   16375 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16376 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16377 		fi
   16378 
   16379 		CFLAGS="$CFLAGS -Werror=nonnull"
   16380 
   16381 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   16382 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   16383 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   16384 		if eval test \${$cacheid+y}
   16385 then :
   16386   printf %s "(cached) " >&6
   16387 else case e in #(
   16388   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16389 /* end confdefs.h.  */
   16390 int i;
   16391 int
   16392 main (void)
   16393 {
   16394 
   16395   ;
   16396   return 0;
   16397 }
   16398 _ACEOF
   16399 if ac_fn_c_try_link "$LINENO"
   16400 then :
   16401   eval $cacheid=yes
   16402 else case e in #(
   16403   e) eval $cacheid=no ;;
   16404 esac
   16405 fi
   16406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16407     conftest$ac_exeext conftest.$ac_ext ;;
   16408 esac
   16409 fi
   16410 
   16411 
   16412 		CFLAGS="$xorg_testset_save_CFLAGS"
   16413 
   16414 		eval supported=\$$cacheid
   16415 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16416 printf "%s\n" "$supported" >&6; }
   16417 		if test "$supported" = "yes" ; then
   16418 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   16419 			found="yes"
   16420 		fi
   16421 	fi
   16422 
   16423 
   16424 
   16425 
   16426 
   16427 
   16428 
   16429 
   16430 
   16431 
   16432 
   16433 
   16434 
   16435 
   16436 
   16437 xorg_testset_save_CFLAGS="$CFLAGS"
   16438 
   16439 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16440 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16441 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16442 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16443 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16444 then :
   16445   printf %s "(cached) " >&6
   16446 else case e in #(
   16447   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16448 /* end confdefs.h.  */
   16449 int i;
   16450 _ACEOF
   16451 if ac_fn_c_try_compile "$LINENO"
   16452 then :
   16453   xorg_cv_cc_flag_unknown_warning_option=yes
   16454 else case e in #(
   16455   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16456 esac
   16457 fi
   16458 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16459 esac
   16460 fi
   16461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16462 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16463 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16464 	CFLAGS="$xorg_testset_save_CFLAGS"
   16465 fi
   16466 
   16467 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16468 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16469 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16470 	fi
   16471 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16472 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16473 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16474 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16475 then :
   16476   printf %s "(cached) " >&6
   16477 else case e in #(
   16478   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16479 /* end confdefs.h.  */
   16480 int i;
   16481 _ACEOF
   16482 if ac_fn_c_try_compile "$LINENO"
   16483 then :
   16484   xorg_cv_cc_flag_unused_command_line_argument=yes
   16485 else case e in #(
   16486   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16487 esac
   16488 fi
   16489 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16490 esac
   16491 fi
   16492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16493 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16494 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16495 	CFLAGS="$xorg_testset_save_CFLAGS"
   16496 fi
   16497 
   16498 found="no"
   16499 
   16500 	if test $found = "no" ; then
   16501 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16502 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16503 		fi
   16504 
   16505 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16506 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16507 		fi
   16508 
   16509 		CFLAGS="$CFLAGS -Werror=init-self"
   16510 
   16511 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   16512 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   16513 		cacheid=xorg_cv_cc_flag__Werror_init_self
   16514 		if eval test \${$cacheid+y}
   16515 then :
   16516   printf %s "(cached) " >&6
   16517 else case e in #(
   16518   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16519 /* end confdefs.h.  */
   16520 int i;
   16521 int
   16522 main (void)
   16523 {
   16524 
   16525   ;
   16526   return 0;
   16527 }
   16528 _ACEOF
   16529 if ac_fn_c_try_link "$LINENO"
   16530 then :
   16531   eval $cacheid=yes
   16532 else case e in #(
   16533   e) eval $cacheid=no ;;
   16534 esac
   16535 fi
   16536 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16537     conftest$ac_exeext conftest.$ac_ext ;;
   16538 esac
   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=init-self"
   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 case e in #(
   16577   e) 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 case e in #(
   16585   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16586 esac
   16587 fi
   16588 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16589 esac
   16590 fi
   16591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16592 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16593 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16594 	CFLAGS="$xorg_testset_save_CFLAGS"
   16595 fi
   16596 
   16597 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16598 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16599 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16600 	fi
   16601 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16602 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16603 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16604 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16605 then :
   16606   printf %s "(cached) " >&6
   16607 else case e in #(
   16608   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16609 /* end confdefs.h.  */
   16610 int i;
   16611 _ACEOF
   16612 if ac_fn_c_try_compile "$LINENO"
   16613 then :
   16614   xorg_cv_cc_flag_unused_command_line_argument=yes
   16615 else case e in #(
   16616   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16617 esac
   16618 fi
   16619 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16620 esac
   16621 fi
   16622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16623 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16624 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16625 	CFLAGS="$xorg_testset_save_CFLAGS"
   16626 fi
   16627 
   16628 found="no"
   16629 
   16630 	if test $found = "no" ; then
   16631 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16632 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16633 		fi
   16634 
   16635 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16636 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16637 		fi
   16638 
   16639 		CFLAGS="$CFLAGS -Werror=main"
   16640 
   16641 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   16642 printf %s "checking if $CC supports -Werror=main... " >&6; }
   16643 		cacheid=xorg_cv_cc_flag__Werror_main
   16644 		if eval test \${$cacheid+y}
   16645 then :
   16646   printf %s "(cached) " >&6
   16647 else case e in #(
   16648   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16649 /* end confdefs.h.  */
   16650 int i;
   16651 int
   16652 main (void)
   16653 {
   16654 
   16655   ;
   16656   return 0;
   16657 }
   16658 _ACEOF
   16659 if ac_fn_c_try_link "$LINENO"
   16660 then :
   16661   eval $cacheid=yes
   16662 else case e in #(
   16663   e) eval $cacheid=no ;;
   16664 esac
   16665 fi
   16666 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16667     conftest$ac_exeext conftest.$ac_ext ;;
   16668 esac
   16669 fi
   16670 
   16671 
   16672 		CFLAGS="$xorg_testset_save_CFLAGS"
   16673 
   16674 		eval supported=\$$cacheid
   16675 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16676 printf "%s\n" "$supported" >&6; }
   16677 		if test "$supported" = "yes" ; then
   16678 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   16679 			found="yes"
   16680 		fi
   16681 	fi
   16682 
   16683 
   16684 
   16685 
   16686 
   16687 
   16688 
   16689 
   16690 
   16691 
   16692 
   16693 
   16694 
   16695 
   16696 
   16697 xorg_testset_save_CFLAGS="$CFLAGS"
   16698 
   16699 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16700 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16701 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16702 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16703 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16704 then :
   16705   printf %s "(cached) " >&6
   16706 else case e in #(
   16707   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16708 /* end confdefs.h.  */
   16709 int i;
   16710 _ACEOF
   16711 if ac_fn_c_try_compile "$LINENO"
   16712 then :
   16713   xorg_cv_cc_flag_unknown_warning_option=yes
   16714 else case e in #(
   16715   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16716 esac
   16717 fi
   16718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16719 esac
   16720 fi
   16721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16722 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16723 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16724 	CFLAGS="$xorg_testset_save_CFLAGS"
   16725 fi
   16726 
   16727 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16728 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16729 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16730 	fi
   16731 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16732 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16733 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16734 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16735 then :
   16736   printf %s "(cached) " >&6
   16737 else case e in #(
   16738   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16739 /* end confdefs.h.  */
   16740 int i;
   16741 _ACEOF
   16742 if ac_fn_c_try_compile "$LINENO"
   16743 then :
   16744   xorg_cv_cc_flag_unused_command_line_argument=yes
   16745 else case e in #(
   16746   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16747 esac
   16748 fi
   16749 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16750 esac
   16751 fi
   16752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16753 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16754 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16755 	CFLAGS="$xorg_testset_save_CFLAGS"
   16756 fi
   16757 
   16758 found="no"
   16759 
   16760 	if test $found = "no" ; then
   16761 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16762 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16763 		fi
   16764 
   16765 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16766 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16767 		fi
   16768 
   16769 		CFLAGS="$CFLAGS -Werror=missing-braces"
   16770 
   16771 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   16772 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   16773 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   16774 		if eval test \${$cacheid+y}
   16775 then :
   16776   printf %s "(cached) " >&6
   16777 else case e in #(
   16778   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16779 /* end confdefs.h.  */
   16780 int i;
   16781 int
   16782 main (void)
   16783 {
   16784 
   16785   ;
   16786   return 0;
   16787 }
   16788 _ACEOF
   16789 if ac_fn_c_try_link "$LINENO"
   16790 then :
   16791   eval $cacheid=yes
   16792 else case e in #(
   16793   e) eval $cacheid=no ;;
   16794 esac
   16795 fi
   16796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16797     conftest$ac_exeext conftest.$ac_ext ;;
   16798 esac
   16799 fi
   16800 
   16801 
   16802 		CFLAGS="$xorg_testset_save_CFLAGS"
   16803 
   16804 		eval supported=\$$cacheid
   16805 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16806 printf "%s\n" "$supported" >&6; }
   16807 		if test "$supported" = "yes" ; then
   16808 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   16809 			found="yes"
   16810 		fi
   16811 	fi
   16812 
   16813 
   16814 
   16815 
   16816 
   16817 
   16818 
   16819 
   16820 
   16821 
   16822 
   16823 
   16824 
   16825 
   16826 
   16827 xorg_testset_save_CFLAGS="$CFLAGS"
   16828 
   16829 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16830 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16831 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16832 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16833 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16834 then :
   16835   printf %s "(cached) " >&6
   16836 else case e in #(
   16837   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16838 /* end confdefs.h.  */
   16839 int i;
   16840 _ACEOF
   16841 if ac_fn_c_try_compile "$LINENO"
   16842 then :
   16843   xorg_cv_cc_flag_unknown_warning_option=yes
   16844 else case e in #(
   16845   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16846 esac
   16847 fi
   16848 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16849 esac
   16850 fi
   16851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16852 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16853 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16854 	CFLAGS="$xorg_testset_save_CFLAGS"
   16855 fi
   16856 
   16857 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16858 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16859 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16860 	fi
   16861 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16862 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16863 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16864 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16865 then :
   16866   printf %s "(cached) " >&6
   16867 else case e in #(
   16868   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16869 /* end confdefs.h.  */
   16870 int i;
   16871 _ACEOF
   16872 if ac_fn_c_try_compile "$LINENO"
   16873 then :
   16874   xorg_cv_cc_flag_unused_command_line_argument=yes
   16875 else case e in #(
   16876   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16877 esac
   16878 fi
   16879 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16880 esac
   16881 fi
   16882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16883 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16884 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16885 	CFLAGS="$xorg_testset_save_CFLAGS"
   16886 fi
   16887 
   16888 found="no"
   16889 
   16890 	if test $found = "no" ; then
   16891 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16892 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16893 		fi
   16894 
   16895 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16896 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16897 		fi
   16898 
   16899 		CFLAGS="$CFLAGS -Werror=sequence-point"
   16900 
   16901 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   16902 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   16903 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   16904 		if eval test \${$cacheid+y}
   16905 then :
   16906   printf %s "(cached) " >&6
   16907 else case e in #(
   16908   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16909 /* end confdefs.h.  */
   16910 int i;
   16911 int
   16912 main (void)
   16913 {
   16914 
   16915   ;
   16916   return 0;
   16917 }
   16918 _ACEOF
   16919 if ac_fn_c_try_link "$LINENO"
   16920 then :
   16921   eval $cacheid=yes
   16922 else case e in #(
   16923   e) eval $cacheid=no ;;
   16924 esac
   16925 fi
   16926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16927     conftest$ac_exeext conftest.$ac_ext ;;
   16928 esac
   16929 fi
   16930 
   16931 
   16932 		CFLAGS="$xorg_testset_save_CFLAGS"
   16933 
   16934 		eval supported=\$$cacheid
   16935 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16936 printf "%s\n" "$supported" >&6; }
   16937 		if test "$supported" = "yes" ; then
   16938 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   16939 			found="yes"
   16940 		fi
   16941 	fi
   16942 
   16943 
   16944 
   16945 
   16946 
   16947 
   16948 
   16949 
   16950 
   16951 
   16952 
   16953 
   16954 
   16955 
   16956 
   16957 xorg_testset_save_CFLAGS="$CFLAGS"
   16958 
   16959 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16960 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16961 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16962 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16963 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16964 then :
   16965   printf %s "(cached) " >&6
   16966 else case e in #(
   16967   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16968 /* end confdefs.h.  */
   16969 int i;
   16970 _ACEOF
   16971 if ac_fn_c_try_compile "$LINENO"
   16972 then :
   16973   xorg_cv_cc_flag_unknown_warning_option=yes
   16974 else case e in #(
   16975   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16976 esac
   16977 fi
   16978 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16979 esac
   16980 fi
   16981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16982 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16983 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16984 	CFLAGS="$xorg_testset_save_CFLAGS"
   16985 fi
   16986 
   16987 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16988 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16989 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16990 	fi
   16991 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16992 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16993 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16994 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16995 then :
   16996   printf %s "(cached) " >&6
   16997 else case e in #(
   16998   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16999 /* end confdefs.h.  */
   17000 int i;
   17001 _ACEOF
   17002 if ac_fn_c_try_compile "$LINENO"
   17003 then :
   17004   xorg_cv_cc_flag_unused_command_line_argument=yes
   17005 else case e in #(
   17006   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17007 esac
   17008 fi
   17009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17010 esac
   17011 fi
   17012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17013 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17014 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17015 	CFLAGS="$xorg_testset_save_CFLAGS"
   17016 fi
   17017 
   17018 found="no"
   17019 
   17020 	if test $found = "no" ; then
   17021 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17022 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17023 		fi
   17024 
   17025 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17026 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17027 		fi
   17028 
   17029 		CFLAGS="$CFLAGS -Werror=return-type"
   17030 
   17031 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   17032 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   17033 		cacheid=xorg_cv_cc_flag__Werror_return_type
   17034 		if eval test \${$cacheid+y}
   17035 then :
   17036   printf %s "(cached) " >&6
   17037 else case e in #(
   17038   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17039 /* end confdefs.h.  */
   17040 int i;
   17041 int
   17042 main (void)
   17043 {
   17044 
   17045   ;
   17046   return 0;
   17047 }
   17048 _ACEOF
   17049 if ac_fn_c_try_link "$LINENO"
   17050 then :
   17051   eval $cacheid=yes
   17052 else case e in #(
   17053   e) eval $cacheid=no ;;
   17054 esac
   17055 fi
   17056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17057     conftest$ac_exeext conftest.$ac_ext ;;
   17058 esac
   17059 fi
   17060 
   17061 
   17062 		CFLAGS="$xorg_testset_save_CFLAGS"
   17063 
   17064 		eval supported=\$$cacheid
   17065 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17066 printf "%s\n" "$supported" >&6; }
   17067 		if test "$supported" = "yes" ; then
   17068 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   17069 			found="yes"
   17070 		fi
   17071 	fi
   17072 
   17073 	if test $found = "no" ; then
   17074 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17075 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17076 		fi
   17077 
   17078 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17079 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17080 		fi
   17081 
   17082 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17083 
   17084 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   17085 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   17086 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   17087 		if eval test \${$cacheid+y}
   17088 then :
   17089   printf %s "(cached) " >&6
   17090 else case e in #(
   17091   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17092 /* end confdefs.h.  */
   17093 int i;
   17094 int
   17095 main (void)
   17096 {
   17097 
   17098   ;
   17099   return 0;
   17100 }
   17101 _ACEOF
   17102 if ac_fn_c_try_link "$LINENO"
   17103 then :
   17104   eval $cacheid=yes
   17105 else case e in #(
   17106   e) eval $cacheid=no ;;
   17107 esac
   17108 fi
   17109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17110     conftest$ac_exeext conftest.$ac_ext ;;
   17111 esac
   17112 fi
   17113 
   17114 
   17115 		CFLAGS="$xorg_testset_save_CFLAGS"
   17116 
   17117 		eval supported=\$$cacheid
   17118 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17119 printf "%s\n" "$supported" >&6; }
   17120 		if test "$supported" = "yes" ; then
   17121 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17122 			found="yes"
   17123 		fi
   17124 	fi
   17125 
   17126 
   17127 
   17128 
   17129 
   17130 
   17131 
   17132 
   17133 
   17134 
   17135 
   17136 
   17137 
   17138 
   17139 
   17140 xorg_testset_save_CFLAGS="$CFLAGS"
   17141 
   17142 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17143 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17144 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17145 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17146 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17147 then :
   17148   printf %s "(cached) " >&6
   17149 else case e in #(
   17150   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17151 /* end confdefs.h.  */
   17152 int i;
   17153 _ACEOF
   17154 if ac_fn_c_try_compile "$LINENO"
   17155 then :
   17156   xorg_cv_cc_flag_unknown_warning_option=yes
   17157 else case e in #(
   17158   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17159 esac
   17160 fi
   17161 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17162 esac
   17163 fi
   17164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17165 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17166 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17167 	CFLAGS="$xorg_testset_save_CFLAGS"
   17168 fi
   17169 
   17170 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17171 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17172 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17173 	fi
   17174 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17175 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17176 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17177 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17178 then :
   17179   printf %s "(cached) " >&6
   17180 else case e in #(
   17181   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17182 /* end confdefs.h.  */
   17183 int i;
   17184 _ACEOF
   17185 if ac_fn_c_try_compile "$LINENO"
   17186 then :
   17187   xorg_cv_cc_flag_unused_command_line_argument=yes
   17188 else case e in #(
   17189   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17190 esac
   17191 fi
   17192 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17193 esac
   17194 fi
   17195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17196 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17197 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17198 	CFLAGS="$xorg_testset_save_CFLAGS"
   17199 fi
   17200 
   17201 found="no"
   17202 
   17203 	if test $found = "no" ; then
   17204 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17205 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17206 		fi
   17207 
   17208 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17209 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17210 		fi
   17211 
   17212 		CFLAGS="$CFLAGS -Werror=trigraphs"
   17213 
   17214 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   17215 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   17216 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   17217 		if eval test \${$cacheid+y}
   17218 then :
   17219   printf %s "(cached) " >&6
   17220 else case e in #(
   17221   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17222 /* end confdefs.h.  */
   17223 int i;
   17224 int
   17225 main (void)
   17226 {
   17227 
   17228   ;
   17229   return 0;
   17230 }
   17231 _ACEOF
   17232 if ac_fn_c_try_link "$LINENO"
   17233 then :
   17234   eval $cacheid=yes
   17235 else case e in #(
   17236   e) eval $cacheid=no ;;
   17237 esac
   17238 fi
   17239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17240     conftest$ac_exeext conftest.$ac_ext ;;
   17241 esac
   17242 fi
   17243 
   17244 
   17245 		CFLAGS="$xorg_testset_save_CFLAGS"
   17246 
   17247 		eval supported=\$$cacheid
   17248 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17249 printf "%s\n" "$supported" >&6; }
   17250 		if test "$supported" = "yes" ; then
   17251 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   17252 			found="yes"
   17253 		fi
   17254 	fi
   17255 
   17256 
   17257 
   17258 
   17259 
   17260 
   17261 
   17262 
   17263 
   17264 
   17265 
   17266 
   17267 
   17268 
   17269 
   17270 xorg_testset_save_CFLAGS="$CFLAGS"
   17271 
   17272 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17273 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17274 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17275 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17276 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17277 then :
   17278   printf %s "(cached) " >&6
   17279 else case e in #(
   17280   e) 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_unknown_warning_option=yes
   17287 else case e in #(
   17288   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17289 esac
   17290 fi
   17291 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17292 esac
   17293 fi
   17294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17295 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17296 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17297 	CFLAGS="$xorg_testset_save_CFLAGS"
   17298 fi
   17299 
   17300 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17301 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17302 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17303 	fi
   17304 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17305 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17306 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17307 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17308 then :
   17309   printf %s "(cached) " >&6
   17310 else case e in #(
   17311   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17312 /* end confdefs.h.  */
   17313 int i;
   17314 _ACEOF
   17315 if ac_fn_c_try_compile "$LINENO"
   17316 then :
   17317   xorg_cv_cc_flag_unused_command_line_argument=yes
   17318 else case e in #(
   17319   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17320 esac
   17321 fi
   17322 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17323 esac
   17324 fi
   17325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17326 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17327 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17328 	CFLAGS="$xorg_testset_save_CFLAGS"
   17329 fi
   17330 
   17331 found="no"
   17332 
   17333 	if test $found = "no" ; then
   17334 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17335 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17336 		fi
   17337 
   17338 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17339 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17340 		fi
   17341 
   17342 		CFLAGS="$CFLAGS -Werror=array-bounds"
   17343 
   17344 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   17345 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   17346 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   17347 		if eval test \${$cacheid+y}
   17348 then :
   17349   printf %s "(cached) " >&6
   17350 else case e in #(
   17351   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17352 /* end confdefs.h.  */
   17353 int i;
   17354 int
   17355 main (void)
   17356 {
   17357 
   17358   ;
   17359   return 0;
   17360 }
   17361 _ACEOF
   17362 if ac_fn_c_try_link "$LINENO"
   17363 then :
   17364   eval $cacheid=yes
   17365 else case e in #(
   17366   e) eval $cacheid=no ;;
   17367 esac
   17368 fi
   17369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17370     conftest$ac_exeext conftest.$ac_ext ;;
   17371 esac
   17372 fi
   17373 
   17374 
   17375 		CFLAGS="$xorg_testset_save_CFLAGS"
   17376 
   17377 		eval supported=\$$cacheid
   17378 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17379 printf "%s\n" "$supported" >&6; }
   17380 		if test "$supported" = "yes" ; then
   17381 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   17382 			found="yes"
   17383 		fi
   17384 	fi
   17385 
   17386 
   17387 
   17388 
   17389 
   17390 
   17391 
   17392 
   17393 
   17394 
   17395 
   17396 
   17397 
   17398 
   17399 
   17400 xorg_testset_save_CFLAGS="$CFLAGS"
   17401 
   17402 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17403 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17404 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17405 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17406 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17407 then :
   17408   printf %s "(cached) " >&6
   17409 else case e in #(
   17410   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17411 /* end confdefs.h.  */
   17412 int i;
   17413 _ACEOF
   17414 if ac_fn_c_try_compile "$LINENO"
   17415 then :
   17416   xorg_cv_cc_flag_unknown_warning_option=yes
   17417 else case e in #(
   17418   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17419 esac
   17420 fi
   17421 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17422 esac
   17423 fi
   17424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17425 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17426 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17427 	CFLAGS="$xorg_testset_save_CFLAGS"
   17428 fi
   17429 
   17430 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17431 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17432 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17433 	fi
   17434 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17435 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17436 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17437 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17438 then :
   17439   printf %s "(cached) " >&6
   17440 else case e in #(
   17441   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17442 /* end confdefs.h.  */
   17443 int i;
   17444 _ACEOF
   17445 if ac_fn_c_try_compile "$LINENO"
   17446 then :
   17447   xorg_cv_cc_flag_unused_command_line_argument=yes
   17448 else case e in #(
   17449   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17450 esac
   17451 fi
   17452 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17453 esac
   17454 fi
   17455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17456 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17457 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17458 	CFLAGS="$xorg_testset_save_CFLAGS"
   17459 fi
   17460 
   17461 found="no"
   17462 
   17463 	if test $found = "no" ; then
   17464 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17465 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17466 		fi
   17467 
   17468 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17469 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17470 		fi
   17471 
   17472 		CFLAGS="$CFLAGS -Werror=write-strings"
   17473 
   17474 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   17475 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   17476 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   17477 		if eval test \${$cacheid+y}
   17478 then :
   17479   printf %s "(cached) " >&6
   17480 else case e in #(
   17481   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17482 /* end confdefs.h.  */
   17483 int i;
   17484 int
   17485 main (void)
   17486 {
   17487 
   17488   ;
   17489   return 0;
   17490 }
   17491 _ACEOF
   17492 if ac_fn_c_try_link "$LINENO"
   17493 then :
   17494   eval $cacheid=yes
   17495 else case e in #(
   17496   e) eval $cacheid=no ;;
   17497 esac
   17498 fi
   17499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17500     conftest$ac_exeext conftest.$ac_ext ;;
   17501 esac
   17502 fi
   17503 
   17504 
   17505 		CFLAGS="$xorg_testset_save_CFLAGS"
   17506 
   17507 		eval supported=\$$cacheid
   17508 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17509 printf "%s\n" "$supported" >&6; }
   17510 		if test "$supported" = "yes" ; then
   17511 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   17512 			found="yes"
   17513 		fi
   17514 	fi
   17515 
   17516 
   17517 
   17518 
   17519 
   17520 
   17521 
   17522 
   17523 
   17524 
   17525 
   17526 
   17527 
   17528 
   17529 
   17530 xorg_testset_save_CFLAGS="$CFLAGS"
   17531 
   17532 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17533 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17534 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17535 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17536 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17537 then :
   17538   printf %s "(cached) " >&6
   17539 else case e in #(
   17540   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17541 /* end confdefs.h.  */
   17542 int i;
   17543 _ACEOF
   17544 if ac_fn_c_try_compile "$LINENO"
   17545 then :
   17546   xorg_cv_cc_flag_unknown_warning_option=yes
   17547 else case e in #(
   17548   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17549 esac
   17550 fi
   17551 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17552 esac
   17553 fi
   17554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17555 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17556 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17557 	CFLAGS="$xorg_testset_save_CFLAGS"
   17558 fi
   17559 
   17560 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17561 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17562 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17563 	fi
   17564 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17565 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17566 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17567 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17568 then :
   17569   printf %s "(cached) " >&6
   17570 else case e in #(
   17571   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17572 /* end confdefs.h.  */
   17573 int i;
   17574 _ACEOF
   17575 if ac_fn_c_try_compile "$LINENO"
   17576 then :
   17577   xorg_cv_cc_flag_unused_command_line_argument=yes
   17578 else case e in #(
   17579   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17580 esac
   17581 fi
   17582 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17583 esac
   17584 fi
   17585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17586 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17587 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17588 	CFLAGS="$xorg_testset_save_CFLAGS"
   17589 fi
   17590 
   17591 found="no"
   17592 
   17593 	if test $found = "no" ; then
   17594 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17595 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17596 		fi
   17597 
   17598 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17599 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17600 		fi
   17601 
   17602 		CFLAGS="$CFLAGS -Werror=address"
   17603 
   17604 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   17605 printf %s "checking if $CC supports -Werror=address... " >&6; }
   17606 		cacheid=xorg_cv_cc_flag__Werror_address
   17607 		if eval test \${$cacheid+y}
   17608 then :
   17609   printf %s "(cached) " >&6
   17610 else case e in #(
   17611   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17612 /* end confdefs.h.  */
   17613 int i;
   17614 int
   17615 main (void)
   17616 {
   17617 
   17618   ;
   17619   return 0;
   17620 }
   17621 _ACEOF
   17622 if ac_fn_c_try_link "$LINENO"
   17623 then :
   17624   eval $cacheid=yes
   17625 else case e in #(
   17626   e) eval $cacheid=no ;;
   17627 esac
   17628 fi
   17629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17630     conftest$ac_exeext conftest.$ac_ext ;;
   17631 esac
   17632 fi
   17633 
   17634 
   17635 		CFLAGS="$xorg_testset_save_CFLAGS"
   17636 
   17637 		eval supported=\$$cacheid
   17638 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17639 printf "%s\n" "$supported" >&6; }
   17640 		if test "$supported" = "yes" ; then
   17641 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   17642 			found="yes"
   17643 		fi
   17644 	fi
   17645 
   17646 
   17647 
   17648 
   17649 
   17650 
   17651 
   17652 
   17653 
   17654 
   17655 
   17656 
   17657 
   17658 
   17659 
   17660 xorg_testset_save_CFLAGS="$CFLAGS"
   17661 
   17662 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17663 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17664 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17665 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17666 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17667 then :
   17668   printf %s "(cached) " >&6
   17669 else case e in #(
   17670   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17671 /* end confdefs.h.  */
   17672 int i;
   17673 _ACEOF
   17674 if ac_fn_c_try_compile "$LINENO"
   17675 then :
   17676   xorg_cv_cc_flag_unknown_warning_option=yes
   17677 else case e in #(
   17678   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17679 esac
   17680 fi
   17681 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17682 esac
   17683 fi
   17684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17685 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17686 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17687 	CFLAGS="$xorg_testset_save_CFLAGS"
   17688 fi
   17689 
   17690 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17691 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17692 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17693 	fi
   17694 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17695 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17696 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17697 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17698 then :
   17699   printf %s "(cached) " >&6
   17700 else case e in #(
   17701   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17702 /* end confdefs.h.  */
   17703 int i;
   17704 _ACEOF
   17705 if ac_fn_c_try_compile "$LINENO"
   17706 then :
   17707   xorg_cv_cc_flag_unused_command_line_argument=yes
   17708 else case e in #(
   17709   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17710 esac
   17711 fi
   17712 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17713 esac
   17714 fi
   17715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17716 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17717 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17718 	CFLAGS="$xorg_testset_save_CFLAGS"
   17719 fi
   17720 
   17721 found="no"
   17722 
   17723 	if test $found = "no" ; then
   17724 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17725 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17726 		fi
   17727 
   17728 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17729 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17730 		fi
   17731 
   17732 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   17733 
   17734 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   17735 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   17736 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   17737 		if eval test \${$cacheid+y}
   17738 then :
   17739   printf %s "(cached) " >&6
   17740 else case e in #(
   17741   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17742 /* end confdefs.h.  */
   17743 int i;
   17744 int
   17745 main (void)
   17746 {
   17747 
   17748   ;
   17749   return 0;
   17750 }
   17751 _ACEOF
   17752 if ac_fn_c_try_link "$LINENO"
   17753 then :
   17754   eval $cacheid=yes
   17755 else case e in #(
   17756   e) eval $cacheid=no ;;
   17757 esac
   17758 fi
   17759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17760     conftest$ac_exeext conftest.$ac_ext ;;
   17761 esac
   17762 fi
   17763 
   17764 
   17765 		CFLAGS="$xorg_testset_save_CFLAGS"
   17766 
   17767 		eval supported=\$$cacheid
   17768 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17769 printf "%s\n" "$supported" >&6; }
   17770 		if test "$supported" = "yes" ; then
   17771 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   17772 			found="yes"
   17773 		fi
   17774 	fi
   17775 
   17776 	if test $found = "no" ; then
   17777 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17778 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17779 		fi
   17780 
   17781 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17782 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17783 		fi
   17784 
   17785 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17786 
   17787 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   17788 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   17789 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   17790 		if eval test \${$cacheid+y}
   17791 then :
   17792   printf %s "(cached) " >&6
   17793 else case e in #(
   17794   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17795 /* end confdefs.h.  */
   17796 int i;
   17797 int
   17798 main (void)
   17799 {
   17800 
   17801   ;
   17802   return 0;
   17803 }
   17804 _ACEOF
   17805 if ac_fn_c_try_link "$LINENO"
   17806 then :
   17807   eval $cacheid=yes
   17808 else case e in #(
   17809   e) eval $cacheid=no ;;
   17810 esac
   17811 fi
   17812 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17813     conftest$ac_exeext conftest.$ac_ext ;;
   17814 esac
   17815 fi
   17816 
   17817 
   17818 		CFLAGS="$xorg_testset_save_CFLAGS"
   17819 
   17820 		eval supported=\$$cacheid
   17821 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17822 printf "%s\n" "$supported" >&6; }
   17823 		if test "$supported" = "yes" ; then
   17824 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17825 			found="yes"
   17826 		fi
   17827 	fi
   17828 
   17829 
   17830 
   17831 
   17832 
   17833 
   17834 
   17835 
   17836 
   17837 
   17838 
   17839 
   17840 
   17841 
   17842 
   17843 xorg_testset_save_CFLAGS="$CFLAGS"
   17844 
   17845 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17846 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17847 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17848 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17849 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17850 then :
   17851   printf %s "(cached) " >&6
   17852 else case e in #(
   17853   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17854 /* end confdefs.h.  */
   17855 int i;
   17856 _ACEOF
   17857 if ac_fn_c_try_compile "$LINENO"
   17858 then :
   17859   xorg_cv_cc_flag_unknown_warning_option=yes
   17860 else case e in #(
   17861   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17862 esac
   17863 fi
   17864 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17865 esac
   17866 fi
   17867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17868 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17869 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17870 	CFLAGS="$xorg_testset_save_CFLAGS"
   17871 fi
   17872 
   17873 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17874 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17875 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17876 	fi
   17877 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17878 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17879 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17880 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17881 then :
   17882   printf %s "(cached) " >&6
   17883 else case e in #(
   17884   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17885 /* end confdefs.h.  */
   17886 int i;
   17887 _ACEOF
   17888 if ac_fn_c_try_compile "$LINENO"
   17889 then :
   17890   xorg_cv_cc_flag_unused_command_line_argument=yes
   17891 else case e in #(
   17892   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17893 esac
   17894 fi
   17895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17896 esac
   17897 fi
   17898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17899 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17900 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17901 	CFLAGS="$xorg_testset_save_CFLAGS"
   17902 fi
   17903 
   17904 found="no"
   17905 
   17906 	if test $found = "no" ; then
   17907 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17908 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17909 		fi
   17910 
   17911 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17912 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17913 		fi
   17914 
   17915 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   17916 
   17917 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   17918 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   17919 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   17920 		if eval test \${$cacheid+y}
   17921 then :
   17922   printf %s "(cached) " >&6
   17923 else case e in #(
   17924   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17925 /* end confdefs.h.  */
   17926 int i;
   17927 int
   17928 main (void)
   17929 {
   17930 
   17931   ;
   17932   return 0;
   17933 }
   17934 _ACEOF
   17935 if ac_fn_c_try_link "$LINENO"
   17936 then :
   17937   eval $cacheid=yes
   17938 else case e in #(
   17939   e) eval $cacheid=no ;;
   17940 esac
   17941 fi
   17942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17943     conftest$ac_exeext conftest.$ac_ext ;;
   17944 esac
   17945 fi
   17946 
   17947 
   17948 		CFLAGS="$xorg_testset_save_CFLAGS"
   17949 
   17950 		eval supported=\$$cacheid
   17951 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17952 printf "%s\n" "$supported" >&6; }
   17953 		if test "$supported" = "yes" ; then
   17954 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   17955 			found="yes"
   17956 		fi
   17957 	fi
   17958 
   17959  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   17960 else
   17961 { 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
   17962 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;}
   17963 
   17964 
   17965 
   17966 
   17967 
   17968 
   17969 
   17970 
   17971 
   17972 
   17973 
   17974 
   17975 
   17976 xorg_testset_save_CFLAGS="$CFLAGS"
   17977 
   17978 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17979 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17980 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17981 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17982 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17983 then :
   17984   printf %s "(cached) " >&6
   17985 else case e in #(
   17986   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17987 /* end confdefs.h.  */
   17988 int i;
   17989 _ACEOF
   17990 if ac_fn_c_try_compile "$LINENO"
   17991 then :
   17992   xorg_cv_cc_flag_unknown_warning_option=yes
   17993 else case e in #(
   17994   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17995 esac
   17996 fi
   17997 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17998 esac
   17999 fi
   18000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18001 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18002 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18003 	CFLAGS="$xorg_testset_save_CFLAGS"
   18004 fi
   18005 
   18006 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18007 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18008 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18009 	fi
   18010 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18011 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18012 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18013 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18014 then :
   18015   printf %s "(cached) " >&6
   18016 else case e in #(
   18017   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18018 /* end confdefs.h.  */
   18019 int i;
   18020 _ACEOF
   18021 if ac_fn_c_try_compile "$LINENO"
   18022 then :
   18023   xorg_cv_cc_flag_unused_command_line_argument=yes
   18024 else case e in #(
   18025   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18026 esac
   18027 fi
   18028 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18029 esac
   18030 fi
   18031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18032 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18033 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18034 	CFLAGS="$xorg_testset_save_CFLAGS"
   18035 fi
   18036 
   18037 found="no"
   18038 
   18039 	if test $found = "no" ; then
   18040 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18041 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18042 		fi
   18043 
   18044 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18045 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18046 		fi
   18047 
   18048 		CFLAGS="$CFLAGS -Wimplicit"
   18049 
   18050 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   18051 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   18052 		cacheid=xorg_cv_cc_flag__Wimplicit
   18053 		if eval test \${$cacheid+y}
   18054 then :
   18055   printf %s "(cached) " >&6
   18056 else case e in #(
   18057   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18058 /* end confdefs.h.  */
   18059 int i;
   18060 int
   18061 main (void)
   18062 {
   18063 
   18064   ;
   18065   return 0;
   18066 }
   18067 _ACEOF
   18068 if ac_fn_c_try_link "$LINENO"
   18069 then :
   18070   eval $cacheid=yes
   18071 else case e in #(
   18072   e) eval $cacheid=no ;;
   18073 esac
   18074 fi
   18075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18076     conftest$ac_exeext conftest.$ac_ext ;;
   18077 esac
   18078 fi
   18079 
   18080 
   18081 		CFLAGS="$xorg_testset_save_CFLAGS"
   18082 
   18083 		eval supported=\$$cacheid
   18084 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18085 printf "%s\n" "$supported" >&6; }
   18086 		if test "$supported" = "yes" ; then
   18087 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   18088 			found="yes"
   18089 		fi
   18090 	fi
   18091 
   18092 
   18093 
   18094 
   18095 
   18096 
   18097 
   18098 
   18099 
   18100 
   18101 
   18102 
   18103 
   18104 
   18105 
   18106 xorg_testset_save_CFLAGS="$CFLAGS"
   18107 
   18108 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18109 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18110 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18111 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18112 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18113 then :
   18114   printf %s "(cached) " >&6
   18115 else case e in #(
   18116   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18117 /* end confdefs.h.  */
   18118 int i;
   18119 _ACEOF
   18120 if ac_fn_c_try_compile "$LINENO"
   18121 then :
   18122   xorg_cv_cc_flag_unknown_warning_option=yes
   18123 else case e in #(
   18124   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18125 esac
   18126 fi
   18127 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18128 esac
   18129 fi
   18130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18131 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18132 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18133 	CFLAGS="$xorg_testset_save_CFLAGS"
   18134 fi
   18135 
   18136 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18137 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18138 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18139 	fi
   18140 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18141 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18142 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18143 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18144 then :
   18145   printf %s "(cached) " >&6
   18146 else case e in #(
   18147   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18148 /* end confdefs.h.  */
   18149 int i;
   18150 _ACEOF
   18151 if ac_fn_c_try_compile "$LINENO"
   18152 then :
   18153   xorg_cv_cc_flag_unused_command_line_argument=yes
   18154 else case e in #(
   18155   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18156 esac
   18157 fi
   18158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18159 esac
   18160 fi
   18161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18162 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18163 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18164 	CFLAGS="$xorg_testset_save_CFLAGS"
   18165 fi
   18166 
   18167 found="no"
   18168 
   18169 	if test $found = "no" ; then
   18170 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18171 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18172 		fi
   18173 
   18174 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18175 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18176 		fi
   18177 
   18178 		CFLAGS="$CFLAGS -Wnonnull"
   18179 
   18180 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   18181 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   18182 		cacheid=xorg_cv_cc_flag__Wnonnull
   18183 		if eval test \${$cacheid+y}
   18184 then :
   18185   printf %s "(cached) " >&6
   18186 else case e in #(
   18187   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18188 /* end confdefs.h.  */
   18189 int i;
   18190 int
   18191 main (void)
   18192 {
   18193 
   18194   ;
   18195   return 0;
   18196 }
   18197 _ACEOF
   18198 if ac_fn_c_try_link "$LINENO"
   18199 then :
   18200   eval $cacheid=yes
   18201 else case e in #(
   18202   e) eval $cacheid=no ;;
   18203 esac
   18204 fi
   18205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18206     conftest$ac_exeext conftest.$ac_ext ;;
   18207 esac
   18208 fi
   18209 
   18210 
   18211 		CFLAGS="$xorg_testset_save_CFLAGS"
   18212 
   18213 		eval supported=\$$cacheid
   18214 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18215 printf "%s\n" "$supported" >&6; }
   18216 		if test "$supported" = "yes" ; then
   18217 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   18218 			found="yes"
   18219 		fi
   18220 	fi
   18221 
   18222 
   18223 
   18224 
   18225 
   18226 
   18227 
   18228 
   18229 
   18230 
   18231 
   18232 
   18233 
   18234 
   18235 
   18236 xorg_testset_save_CFLAGS="$CFLAGS"
   18237 
   18238 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18239 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18240 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18241 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18242 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18243 then :
   18244   printf %s "(cached) " >&6
   18245 else case e in #(
   18246   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18247 /* end confdefs.h.  */
   18248 int i;
   18249 _ACEOF
   18250 if ac_fn_c_try_compile "$LINENO"
   18251 then :
   18252   xorg_cv_cc_flag_unknown_warning_option=yes
   18253 else case e in #(
   18254   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18255 esac
   18256 fi
   18257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18258 esac
   18259 fi
   18260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18261 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18262 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18263 	CFLAGS="$xorg_testset_save_CFLAGS"
   18264 fi
   18265 
   18266 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18267 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18268 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18269 	fi
   18270 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18271 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18272 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18273 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18274 then :
   18275   printf %s "(cached) " >&6
   18276 else case e in #(
   18277   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18278 /* end confdefs.h.  */
   18279 int i;
   18280 _ACEOF
   18281 if ac_fn_c_try_compile "$LINENO"
   18282 then :
   18283   xorg_cv_cc_flag_unused_command_line_argument=yes
   18284 else case e in #(
   18285   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18286 esac
   18287 fi
   18288 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18289 esac
   18290 fi
   18291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18292 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18293 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18294 	CFLAGS="$xorg_testset_save_CFLAGS"
   18295 fi
   18296 
   18297 found="no"
   18298 
   18299 	if test $found = "no" ; then
   18300 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18301 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18302 		fi
   18303 
   18304 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18305 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18306 		fi
   18307 
   18308 		CFLAGS="$CFLAGS -Winit-self"
   18309 
   18310 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   18311 printf %s "checking if $CC supports -Winit-self... " >&6; }
   18312 		cacheid=xorg_cv_cc_flag__Winit_self
   18313 		if eval test \${$cacheid+y}
   18314 then :
   18315   printf %s "(cached) " >&6
   18316 else case e in #(
   18317   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18318 /* end confdefs.h.  */
   18319 int i;
   18320 int
   18321 main (void)
   18322 {
   18323 
   18324   ;
   18325   return 0;
   18326 }
   18327 _ACEOF
   18328 if ac_fn_c_try_link "$LINENO"
   18329 then :
   18330   eval $cacheid=yes
   18331 else case e in #(
   18332   e) eval $cacheid=no ;;
   18333 esac
   18334 fi
   18335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18336     conftest$ac_exeext conftest.$ac_ext ;;
   18337 esac
   18338 fi
   18339 
   18340 
   18341 		CFLAGS="$xorg_testset_save_CFLAGS"
   18342 
   18343 		eval supported=\$$cacheid
   18344 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18345 printf "%s\n" "$supported" >&6; }
   18346 		if test "$supported" = "yes" ; then
   18347 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   18348 			found="yes"
   18349 		fi
   18350 	fi
   18351 
   18352 
   18353 
   18354 
   18355 
   18356 
   18357 
   18358 
   18359 
   18360 
   18361 
   18362 
   18363 
   18364 
   18365 
   18366 xorg_testset_save_CFLAGS="$CFLAGS"
   18367 
   18368 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18369 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18370 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18371 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18372 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18373 then :
   18374   printf %s "(cached) " >&6
   18375 else case e in #(
   18376   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18377 /* end confdefs.h.  */
   18378 int i;
   18379 _ACEOF
   18380 if ac_fn_c_try_compile "$LINENO"
   18381 then :
   18382   xorg_cv_cc_flag_unknown_warning_option=yes
   18383 else case e in #(
   18384   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18385 esac
   18386 fi
   18387 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18388 esac
   18389 fi
   18390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18391 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18392 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18393 	CFLAGS="$xorg_testset_save_CFLAGS"
   18394 fi
   18395 
   18396 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18397 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18398 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18399 	fi
   18400 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18401 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18402 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18403 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18404 then :
   18405   printf %s "(cached) " >&6
   18406 else case e in #(
   18407   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18408 /* end confdefs.h.  */
   18409 int i;
   18410 _ACEOF
   18411 if ac_fn_c_try_compile "$LINENO"
   18412 then :
   18413   xorg_cv_cc_flag_unused_command_line_argument=yes
   18414 else case e in #(
   18415   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18416 esac
   18417 fi
   18418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18419 esac
   18420 fi
   18421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18422 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18423 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18424 	CFLAGS="$xorg_testset_save_CFLAGS"
   18425 fi
   18426 
   18427 found="no"
   18428 
   18429 	if test $found = "no" ; then
   18430 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18431 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18432 		fi
   18433 
   18434 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18435 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18436 		fi
   18437 
   18438 		CFLAGS="$CFLAGS -Wmain"
   18439 
   18440 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   18441 printf %s "checking if $CC supports -Wmain... " >&6; }
   18442 		cacheid=xorg_cv_cc_flag__Wmain
   18443 		if eval test \${$cacheid+y}
   18444 then :
   18445   printf %s "(cached) " >&6
   18446 else case e in #(
   18447   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18448 /* end confdefs.h.  */
   18449 int i;
   18450 int
   18451 main (void)
   18452 {
   18453 
   18454   ;
   18455   return 0;
   18456 }
   18457 _ACEOF
   18458 if ac_fn_c_try_link "$LINENO"
   18459 then :
   18460   eval $cacheid=yes
   18461 else case e in #(
   18462   e) eval $cacheid=no ;;
   18463 esac
   18464 fi
   18465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18466     conftest$ac_exeext conftest.$ac_ext ;;
   18467 esac
   18468 fi
   18469 
   18470 
   18471 		CFLAGS="$xorg_testset_save_CFLAGS"
   18472 
   18473 		eval supported=\$$cacheid
   18474 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18475 printf "%s\n" "$supported" >&6; }
   18476 		if test "$supported" = "yes" ; then
   18477 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   18478 			found="yes"
   18479 		fi
   18480 	fi
   18481 
   18482 
   18483 
   18484 
   18485 
   18486 
   18487 
   18488 
   18489 
   18490 
   18491 
   18492 
   18493 
   18494 
   18495 
   18496 xorg_testset_save_CFLAGS="$CFLAGS"
   18497 
   18498 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18499 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18500 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18501 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18502 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18503 then :
   18504   printf %s "(cached) " >&6
   18505 else case e in #(
   18506   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18507 /* end confdefs.h.  */
   18508 int i;
   18509 _ACEOF
   18510 if ac_fn_c_try_compile "$LINENO"
   18511 then :
   18512   xorg_cv_cc_flag_unknown_warning_option=yes
   18513 else case e in #(
   18514   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18515 esac
   18516 fi
   18517 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18518 esac
   18519 fi
   18520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18521 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18522 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18523 	CFLAGS="$xorg_testset_save_CFLAGS"
   18524 fi
   18525 
   18526 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18527 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18528 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18529 	fi
   18530 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18531 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18532 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18533 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18534 then :
   18535   printf %s "(cached) " >&6
   18536 else case e in #(
   18537   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18538 /* end confdefs.h.  */
   18539 int i;
   18540 _ACEOF
   18541 if ac_fn_c_try_compile "$LINENO"
   18542 then :
   18543   xorg_cv_cc_flag_unused_command_line_argument=yes
   18544 else case e in #(
   18545   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18546 esac
   18547 fi
   18548 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18549 esac
   18550 fi
   18551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18552 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18553 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18554 	CFLAGS="$xorg_testset_save_CFLAGS"
   18555 fi
   18556 
   18557 found="no"
   18558 
   18559 	if test $found = "no" ; then
   18560 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18561 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18562 		fi
   18563 
   18564 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18565 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18566 		fi
   18567 
   18568 		CFLAGS="$CFLAGS -Wmissing-braces"
   18569 
   18570 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   18571 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   18572 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   18573 		if eval test \${$cacheid+y}
   18574 then :
   18575   printf %s "(cached) " >&6
   18576 else case e in #(
   18577   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18578 /* end confdefs.h.  */
   18579 int i;
   18580 int
   18581 main (void)
   18582 {
   18583 
   18584   ;
   18585   return 0;
   18586 }
   18587 _ACEOF
   18588 if ac_fn_c_try_link "$LINENO"
   18589 then :
   18590   eval $cacheid=yes
   18591 else case e in #(
   18592   e) eval $cacheid=no ;;
   18593 esac
   18594 fi
   18595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18596     conftest$ac_exeext conftest.$ac_ext ;;
   18597 esac
   18598 fi
   18599 
   18600 
   18601 		CFLAGS="$xorg_testset_save_CFLAGS"
   18602 
   18603 		eval supported=\$$cacheid
   18604 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18605 printf "%s\n" "$supported" >&6; }
   18606 		if test "$supported" = "yes" ; then
   18607 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   18608 			found="yes"
   18609 		fi
   18610 	fi
   18611 
   18612 
   18613 
   18614 
   18615 
   18616 
   18617 
   18618 
   18619 
   18620 
   18621 
   18622 
   18623 
   18624 
   18625 
   18626 xorg_testset_save_CFLAGS="$CFLAGS"
   18627 
   18628 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18629 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18630 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18631 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18632 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18633 then :
   18634   printf %s "(cached) " >&6
   18635 else case e in #(
   18636   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18637 /* end confdefs.h.  */
   18638 int i;
   18639 _ACEOF
   18640 if ac_fn_c_try_compile "$LINENO"
   18641 then :
   18642   xorg_cv_cc_flag_unknown_warning_option=yes
   18643 else case e in #(
   18644   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18645 esac
   18646 fi
   18647 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18648 esac
   18649 fi
   18650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18651 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18652 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18653 	CFLAGS="$xorg_testset_save_CFLAGS"
   18654 fi
   18655 
   18656 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18657 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18658 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18659 	fi
   18660 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18661 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18662 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18663 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18664 then :
   18665   printf %s "(cached) " >&6
   18666 else case e in #(
   18667   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18668 /* end confdefs.h.  */
   18669 int i;
   18670 _ACEOF
   18671 if ac_fn_c_try_compile "$LINENO"
   18672 then :
   18673   xorg_cv_cc_flag_unused_command_line_argument=yes
   18674 else case e in #(
   18675   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18676 esac
   18677 fi
   18678 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18679 esac
   18680 fi
   18681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18682 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18683 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18684 	CFLAGS="$xorg_testset_save_CFLAGS"
   18685 fi
   18686 
   18687 found="no"
   18688 
   18689 	if test $found = "no" ; then
   18690 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18691 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18692 		fi
   18693 
   18694 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18695 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18696 		fi
   18697 
   18698 		CFLAGS="$CFLAGS -Wsequence-point"
   18699 
   18700 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   18701 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   18702 		cacheid=xorg_cv_cc_flag__Wsequence_point
   18703 		if eval test \${$cacheid+y}
   18704 then :
   18705   printf %s "(cached) " >&6
   18706 else case e in #(
   18707   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18708 /* end confdefs.h.  */
   18709 int i;
   18710 int
   18711 main (void)
   18712 {
   18713 
   18714   ;
   18715   return 0;
   18716 }
   18717 _ACEOF
   18718 if ac_fn_c_try_link "$LINENO"
   18719 then :
   18720   eval $cacheid=yes
   18721 else case e in #(
   18722   e) eval $cacheid=no ;;
   18723 esac
   18724 fi
   18725 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18726     conftest$ac_exeext conftest.$ac_ext ;;
   18727 esac
   18728 fi
   18729 
   18730 
   18731 		CFLAGS="$xorg_testset_save_CFLAGS"
   18732 
   18733 		eval supported=\$$cacheid
   18734 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18735 printf "%s\n" "$supported" >&6; }
   18736 		if test "$supported" = "yes" ; then
   18737 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   18738 			found="yes"
   18739 		fi
   18740 	fi
   18741 
   18742 
   18743 
   18744 
   18745 
   18746 
   18747 
   18748 
   18749 
   18750 
   18751 
   18752 
   18753 
   18754 
   18755 
   18756 xorg_testset_save_CFLAGS="$CFLAGS"
   18757 
   18758 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18759 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18760 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18761 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18762 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18763 then :
   18764   printf %s "(cached) " >&6
   18765 else case e in #(
   18766   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18767 /* end confdefs.h.  */
   18768 int i;
   18769 _ACEOF
   18770 if ac_fn_c_try_compile "$LINENO"
   18771 then :
   18772   xorg_cv_cc_flag_unknown_warning_option=yes
   18773 else case e in #(
   18774   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18775 esac
   18776 fi
   18777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18778 esac
   18779 fi
   18780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18781 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18782 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18783 	CFLAGS="$xorg_testset_save_CFLAGS"
   18784 fi
   18785 
   18786 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18787 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18788 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18789 	fi
   18790 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18791 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18792 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18793 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18794 then :
   18795   printf %s "(cached) " >&6
   18796 else case e in #(
   18797   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18798 /* end confdefs.h.  */
   18799 int i;
   18800 _ACEOF
   18801 if ac_fn_c_try_compile "$LINENO"
   18802 then :
   18803   xorg_cv_cc_flag_unused_command_line_argument=yes
   18804 else case e in #(
   18805   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18806 esac
   18807 fi
   18808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18809 esac
   18810 fi
   18811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18812 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18813 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18814 	CFLAGS="$xorg_testset_save_CFLAGS"
   18815 fi
   18816 
   18817 found="no"
   18818 
   18819 	if test $found = "no" ; then
   18820 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18821 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18822 		fi
   18823 
   18824 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18825 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18826 		fi
   18827 
   18828 		CFLAGS="$CFLAGS -Wreturn-type"
   18829 
   18830 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   18831 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   18832 		cacheid=xorg_cv_cc_flag__Wreturn_type
   18833 		if eval test \${$cacheid+y}
   18834 then :
   18835   printf %s "(cached) " >&6
   18836 else case e in #(
   18837   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18838 /* end confdefs.h.  */
   18839 int i;
   18840 int
   18841 main (void)
   18842 {
   18843 
   18844   ;
   18845   return 0;
   18846 }
   18847 _ACEOF
   18848 if ac_fn_c_try_link "$LINENO"
   18849 then :
   18850   eval $cacheid=yes
   18851 else case e in #(
   18852   e) eval $cacheid=no ;;
   18853 esac
   18854 fi
   18855 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18856     conftest$ac_exeext conftest.$ac_ext ;;
   18857 esac
   18858 fi
   18859 
   18860 
   18861 		CFLAGS="$xorg_testset_save_CFLAGS"
   18862 
   18863 		eval supported=\$$cacheid
   18864 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18865 printf "%s\n" "$supported" >&6; }
   18866 		if test "$supported" = "yes" ; then
   18867 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   18868 			found="yes"
   18869 		fi
   18870 	fi
   18871 
   18872 
   18873 
   18874 
   18875 
   18876 
   18877 
   18878 
   18879 
   18880 
   18881 
   18882 
   18883 
   18884 
   18885 
   18886 xorg_testset_save_CFLAGS="$CFLAGS"
   18887 
   18888 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18889 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18890 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18891 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18892 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18893 then :
   18894   printf %s "(cached) " >&6
   18895 else case e in #(
   18896   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18897 /* end confdefs.h.  */
   18898 int i;
   18899 _ACEOF
   18900 if ac_fn_c_try_compile "$LINENO"
   18901 then :
   18902   xorg_cv_cc_flag_unknown_warning_option=yes
   18903 else case e in #(
   18904   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18905 esac
   18906 fi
   18907 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18908 esac
   18909 fi
   18910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18911 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18912 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18913 	CFLAGS="$xorg_testset_save_CFLAGS"
   18914 fi
   18915 
   18916 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18917 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18918 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18919 	fi
   18920 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18921 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18922 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18923 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18924 then :
   18925   printf %s "(cached) " >&6
   18926 else case e in #(
   18927   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18928 /* end confdefs.h.  */
   18929 int i;
   18930 _ACEOF
   18931 if ac_fn_c_try_compile "$LINENO"
   18932 then :
   18933   xorg_cv_cc_flag_unused_command_line_argument=yes
   18934 else case e in #(
   18935   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18936 esac
   18937 fi
   18938 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18939 esac
   18940 fi
   18941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18942 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18943 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18944 	CFLAGS="$xorg_testset_save_CFLAGS"
   18945 fi
   18946 
   18947 found="no"
   18948 
   18949 	if test $found = "no" ; then
   18950 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18951 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18952 		fi
   18953 
   18954 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18955 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18956 		fi
   18957 
   18958 		CFLAGS="$CFLAGS -Wtrigraphs"
   18959 
   18960 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   18961 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   18962 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   18963 		if eval test \${$cacheid+y}
   18964 then :
   18965   printf %s "(cached) " >&6
   18966 else case e in #(
   18967   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18968 /* end confdefs.h.  */
   18969 int i;
   18970 int
   18971 main (void)
   18972 {
   18973 
   18974   ;
   18975   return 0;
   18976 }
   18977 _ACEOF
   18978 if ac_fn_c_try_link "$LINENO"
   18979 then :
   18980   eval $cacheid=yes
   18981 else case e in #(
   18982   e) eval $cacheid=no ;;
   18983 esac
   18984 fi
   18985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18986     conftest$ac_exeext conftest.$ac_ext ;;
   18987 esac
   18988 fi
   18989 
   18990 
   18991 		CFLAGS="$xorg_testset_save_CFLAGS"
   18992 
   18993 		eval supported=\$$cacheid
   18994 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18995 printf "%s\n" "$supported" >&6; }
   18996 		if test "$supported" = "yes" ; then
   18997 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   18998 			found="yes"
   18999 		fi
   19000 	fi
   19001 
   19002 
   19003 
   19004 
   19005 
   19006 
   19007 
   19008 
   19009 
   19010 
   19011 
   19012 
   19013 
   19014 
   19015 
   19016 xorg_testset_save_CFLAGS="$CFLAGS"
   19017 
   19018 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19019 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19020 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19021 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19022 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19023 then :
   19024   printf %s "(cached) " >&6
   19025 else case e in #(
   19026   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19027 /* end confdefs.h.  */
   19028 int i;
   19029 _ACEOF
   19030 if ac_fn_c_try_compile "$LINENO"
   19031 then :
   19032   xorg_cv_cc_flag_unknown_warning_option=yes
   19033 else case e in #(
   19034   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19035 esac
   19036 fi
   19037 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19038 esac
   19039 fi
   19040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19041 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19042 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19043 	CFLAGS="$xorg_testset_save_CFLAGS"
   19044 fi
   19045 
   19046 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19047 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19048 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19049 	fi
   19050 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19051 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19052 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19053 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19054 then :
   19055   printf %s "(cached) " >&6
   19056 else case e in #(
   19057   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19058 /* end confdefs.h.  */
   19059 int i;
   19060 _ACEOF
   19061 if ac_fn_c_try_compile "$LINENO"
   19062 then :
   19063   xorg_cv_cc_flag_unused_command_line_argument=yes
   19064 else case e in #(
   19065   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19066 esac
   19067 fi
   19068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19069 esac
   19070 fi
   19071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19072 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19073 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19074 	CFLAGS="$xorg_testset_save_CFLAGS"
   19075 fi
   19076 
   19077 found="no"
   19078 
   19079 	if test $found = "no" ; then
   19080 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19081 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19082 		fi
   19083 
   19084 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19085 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19086 		fi
   19087 
   19088 		CFLAGS="$CFLAGS -Warray-bounds"
   19089 
   19090 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   19091 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   19092 		cacheid=xorg_cv_cc_flag__Warray_bounds
   19093 		if eval test \${$cacheid+y}
   19094 then :
   19095   printf %s "(cached) " >&6
   19096 else case e in #(
   19097   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19098 /* end confdefs.h.  */
   19099 int i;
   19100 int
   19101 main (void)
   19102 {
   19103 
   19104   ;
   19105   return 0;
   19106 }
   19107 _ACEOF
   19108 if ac_fn_c_try_link "$LINENO"
   19109 then :
   19110   eval $cacheid=yes
   19111 else case e in #(
   19112   e) eval $cacheid=no ;;
   19113 esac
   19114 fi
   19115 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19116     conftest$ac_exeext conftest.$ac_ext ;;
   19117 esac
   19118 fi
   19119 
   19120 
   19121 		CFLAGS="$xorg_testset_save_CFLAGS"
   19122 
   19123 		eval supported=\$$cacheid
   19124 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19125 printf "%s\n" "$supported" >&6; }
   19126 		if test "$supported" = "yes" ; then
   19127 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   19128 			found="yes"
   19129 		fi
   19130 	fi
   19131 
   19132 
   19133 
   19134 
   19135 
   19136 
   19137 
   19138 
   19139 
   19140 
   19141 
   19142 
   19143 
   19144 
   19145 
   19146 xorg_testset_save_CFLAGS="$CFLAGS"
   19147 
   19148 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19149 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19150 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19151 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19152 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19153 then :
   19154   printf %s "(cached) " >&6
   19155 else case e in #(
   19156   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19157 /* end confdefs.h.  */
   19158 int i;
   19159 _ACEOF
   19160 if ac_fn_c_try_compile "$LINENO"
   19161 then :
   19162   xorg_cv_cc_flag_unknown_warning_option=yes
   19163 else case e in #(
   19164   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19165 esac
   19166 fi
   19167 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19168 esac
   19169 fi
   19170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19171 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19172 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19173 	CFLAGS="$xorg_testset_save_CFLAGS"
   19174 fi
   19175 
   19176 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19177 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19178 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19179 	fi
   19180 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19181 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19182 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19183 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19184 then :
   19185   printf %s "(cached) " >&6
   19186 else case e in #(
   19187   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19188 /* end confdefs.h.  */
   19189 int i;
   19190 _ACEOF
   19191 if ac_fn_c_try_compile "$LINENO"
   19192 then :
   19193   xorg_cv_cc_flag_unused_command_line_argument=yes
   19194 else case e in #(
   19195   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19196 esac
   19197 fi
   19198 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19199 esac
   19200 fi
   19201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19202 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19203 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19204 	CFLAGS="$xorg_testset_save_CFLAGS"
   19205 fi
   19206 
   19207 found="no"
   19208 
   19209 	if test $found = "no" ; then
   19210 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19211 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19212 		fi
   19213 
   19214 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19215 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19216 		fi
   19217 
   19218 		CFLAGS="$CFLAGS -Wwrite-strings"
   19219 
   19220 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   19221 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   19222 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   19223 		if eval test \${$cacheid+y}
   19224 then :
   19225   printf %s "(cached) " >&6
   19226 else case e in #(
   19227   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19228 /* end confdefs.h.  */
   19229 int i;
   19230 int
   19231 main (void)
   19232 {
   19233 
   19234   ;
   19235   return 0;
   19236 }
   19237 _ACEOF
   19238 if ac_fn_c_try_link "$LINENO"
   19239 then :
   19240   eval $cacheid=yes
   19241 else case e in #(
   19242   e) eval $cacheid=no ;;
   19243 esac
   19244 fi
   19245 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19246     conftest$ac_exeext conftest.$ac_ext ;;
   19247 esac
   19248 fi
   19249 
   19250 
   19251 		CFLAGS="$xorg_testset_save_CFLAGS"
   19252 
   19253 		eval supported=\$$cacheid
   19254 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19255 printf "%s\n" "$supported" >&6; }
   19256 		if test "$supported" = "yes" ; then
   19257 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   19258 			found="yes"
   19259 		fi
   19260 	fi
   19261 
   19262 
   19263 
   19264 
   19265 
   19266 
   19267 
   19268 
   19269 
   19270 
   19271 
   19272 
   19273 
   19274 
   19275 
   19276 xorg_testset_save_CFLAGS="$CFLAGS"
   19277 
   19278 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19279 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19280 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19281 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19282 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19283 then :
   19284   printf %s "(cached) " >&6
   19285 else case e in #(
   19286   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19287 /* end confdefs.h.  */
   19288 int i;
   19289 _ACEOF
   19290 if ac_fn_c_try_compile "$LINENO"
   19291 then :
   19292   xorg_cv_cc_flag_unknown_warning_option=yes
   19293 else case e in #(
   19294   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19295 esac
   19296 fi
   19297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19298 esac
   19299 fi
   19300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19301 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19302 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19303 	CFLAGS="$xorg_testset_save_CFLAGS"
   19304 fi
   19305 
   19306 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19307 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19308 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19309 	fi
   19310 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19311 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19312 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19313 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19314 then :
   19315   printf %s "(cached) " >&6
   19316 else case e in #(
   19317   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19318 /* end confdefs.h.  */
   19319 int i;
   19320 _ACEOF
   19321 if ac_fn_c_try_compile "$LINENO"
   19322 then :
   19323   xorg_cv_cc_flag_unused_command_line_argument=yes
   19324 else case e in #(
   19325   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19326 esac
   19327 fi
   19328 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19329 esac
   19330 fi
   19331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19332 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19333 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19334 	CFLAGS="$xorg_testset_save_CFLAGS"
   19335 fi
   19336 
   19337 found="no"
   19338 
   19339 	if test $found = "no" ; then
   19340 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19341 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19342 		fi
   19343 
   19344 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19345 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19346 		fi
   19347 
   19348 		CFLAGS="$CFLAGS -Waddress"
   19349 
   19350 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   19351 printf %s "checking if $CC supports -Waddress... " >&6; }
   19352 		cacheid=xorg_cv_cc_flag__Waddress
   19353 		if eval test \${$cacheid+y}
   19354 then :
   19355   printf %s "(cached) " >&6
   19356 else case e in #(
   19357   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19358 /* end confdefs.h.  */
   19359 int i;
   19360 int
   19361 main (void)
   19362 {
   19363 
   19364   ;
   19365   return 0;
   19366 }
   19367 _ACEOF
   19368 if ac_fn_c_try_link "$LINENO"
   19369 then :
   19370   eval $cacheid=yes
   19371 else case e in #(
   19372   e) eval $cacheid=no ;;
   19373 esac
   19374 fi
   19375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19376     conftest$ac_exeext conftest.$ac_ext ;;
   19377 esac
   19378 fi
   19379 
   19380 
   19381 		CFLAGS="$xorg_testset_save_CFLAGS"
   19382 
   19383 		eval supported=\$$cacheid
   19384 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19385 printf "%s\n" "$supported" >&6; }
   19386 		if test "$supported" = "yes" ; then
   19387 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   19388 			found="yes"
   19389 		fi
   19390 	fi
   19391 
   19392 
   19393 
   19394 
   19395 
   19396 
   19397 
   19398 
   19399 
   19400 
   19401 
   19402 
   19403 
   19404 
   19405 
   19406 xorg_testset_save_CFLAGS="$CFLAGS"
   19407 
   19408 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19409 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19410 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19411 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19412 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19413 then :
   19414   printf %s "(cached) " >&6
   19415 else case e in #(
   19416   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19417 /* end confdefs.h.  */
   19418 int i;
   19419 _ACEOF
   19420 if ac_fn_c_try_compile "$LINENO"
   19421 then :
   19422   xorg_cv_cc_flag_unknown_warning_option=yes
   19423 else case e in #(
   19424   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19425 esac
   19426 fi
   19427 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19428 esac
   19429 fi
   19430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19431 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19432 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19433 	CFLAGS="$xorg_testset_save_CFLAGS"
   19434 fi
   19435 
   19436 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19437 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19438 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19439 	fi
   19440 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19441 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19442 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19443 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19444 then :
   19445   printf %s "(cached) " >&6
   19446 else case e in #(
   19447   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19448 /* end confdefs.h.  */
   19449 int i;
   19450 _ACEOF
   19451 if ac_fn_c_try_compile "$LINENO"
   19452 then :
   19453   xorg_cv_cc_flag_unused_command_line_argument=yes
   19454 else case e in #(
   19455   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19456 esac
   19457 fi
   19458 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19459 esac
   19460 fi
   19461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19462 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19463 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19464 	CFLAGS="$xorg_testset_save_CFLAGS"
   19465 fi
   19466 
   19467 found="no"
   19468 
   19469 	if test $found = "no" ; then
   19470 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19471 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19472 		fi
   19473 
   19474 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19475 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19476 		fi
   19477 
   19478 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   19479 
   19480 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   19481 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   19482 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   19483 		if eval test \${$cacheid+y}
   19484 then :
   19485   printf %s "(cached) " >&6
   19486 else case e in #(
   19487   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19488 /* end confdefs.h.  */
   19489 int i;
   19490 int
   19491 main (void)
   19492 {
   19493 
   19494   ;
   19495   return 0;
   19496 }
   19497 _ACEOF
   19498 if ac_fn_c_try_link "$LINENO"
   19499 then :
   19500   eval $cacheid=yes
   19501 else case e in #(
   19502   e) eval $cacheid=no ;;
   19503 esac
   19504 fi
   19505 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19506     conftest$ac_exeext conftest.$ac_ext ;;
   19507 esac
   19508 fi
   19509 
   19510 
   19511 		CFLAGS="$xorg_testset_save_CFLAGS"
   19512 
   19513 		eval supported=\$$cacheid
   19514 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19515 printf "%s\n" "$supported" >&6; }
   19516 		if test "$supported" = "yes" ; then
   19517 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   19518 			found="yes"
   19519 		fi
   19520 	fi
   19521 
   19522 
   19523 
   19524 
   19525 
   19526 
   19527 
   19528 
   19529 
   19530 
   19531 
   19532 
   19533 
   19534 
   19535 
   19536 xorg_testset_save_CFLAGS="$CFLAGS"
   19537 
   19538 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19539 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19540 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19541 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19542 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19543 then :
   19544   printf %s "(cached) " >&6
   19545 else case e in #(
   19546   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19547 /* end confdefs.h.  */
   19548 int i;
   19549 _ACEOF
   19550 if ac_fn_c_try_compile "$LINENO"
   19551 then :
   19552   xorg_cv_cc_flag_unknown_warning_option=yes
   19553 else case e in #(
   19554   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19555 esac
   19556 fi
   19557 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19558 esac
   19559 fi
   19560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19561 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19562 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19563 	CFLAGS="$xorg_testset_save_CFLAGS"
   19564 fi
   19565 
   19566 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19567 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19568 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19569 	fi
   19570 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19571 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19572 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19573 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19574 then :
   19575   printf %s "(cached) " >&6
   19576 else case e in #(
   19577   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19578 /* end confdefs.h.  */
   19579 int i;
   19580 _ACEOF
   19581 if ac_fn_c_try_compile "$LINENO"
   19582 then :
   19583   xorg_cv_cc_flag_unused_command_line_argument=yes
   19584 else case e in #(
   19585   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19586 esac
   19587 fi
   19588 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19589 esac
   19590 fi
   19591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19592 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19593 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19594 	CFLAGS="$xorg_testset_save_CFLAGS"
   19595 fi
   19596 
   19597 found="no"
   19598 
   19599 	if test $found = "no" ; then
   19600 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19601 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19602 		fi
   19603 
   19604 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19605 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19606 		fi
   19607 
   19608 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   19609 
   19610 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   19611 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   19612 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   19613 		if eval test \${$cacheid+y}
   19614 then :
   19615   printf %s "(cached) " >&6
   19616 else case e in #(
   19617   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19618 /* end confdefs.h.  */
   19619 int i;
   19620 int
   19621 main (void)
   19622 {
   19623 
   19624   ;
   19625   return 0;
   19626 }
   19627 _ACEOF
   19628 if ac_fn_c_try_link "$LINENO"
   19629 then :
   19630   eval $cacheid=yes
   19631 else case e in #(
   19632   e) eval $cacheid=no ;;
   19633 esac
   19634 fi
   19635 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19636     conftest$ac_exeext conftest.$ac_ext ;;
   19637 esac
   19638 fi
   19639 
   19640 
   19641 		CFLAGS="$xorg_testset_save_CFLAGS"
   19642 
   19643 		eval supported=\$$cacheid
   19644 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19645 printf "%s\n" "$supported" >&6; }
   19646 		if test "$supported" = "yes" ; then
   19647 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   19648 			found="yes"
   19649 		fi
   19650 	fi
   19651 
   19652 
   19653 fi
   19654 
   19655 
   19656 
   19657 
   19658 
   19659 
   19660 
   19661 		CWARNFLAGS="$BASE_CFLAGS"
   19662 		if  test "x$GCC" = xyes ; then
   19663 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   19664 		fi
   19665 
   19666 
   19667 
   19668 
   19669 
   19670 
   19671 
   19672 
   19673 # Check whether --enable-strict-compilation was given.
   19674 if test ${enable_strict_compilation+y}
   19675 then :
   19676   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   19677 else case e in #(
   19678   e) STRICT_COMPILE=no ;;
   19679 esac
   19680 fi
   19681 
   19682 
   19683 
   19684 
   19685 
   19686 
   19687 STRICT_CFLAGS=""
   19688 
   19689 
   19690 
   19691 
   19692 
   19693 
   19694 
   19695 
   19696 
   19697 
   19698 
   19699 
   19700 
   19701 xorg_testset_save_CFLAGS="$CFLAGS"
   19702 
   19703 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19704 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19705 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19706 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19707 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19708 then :
   19709   printf %s "(cached) " >&6
   19710 else case e in #(
   19711   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19712 /* end confdefs.h.  */
   19713 int i;
   19714 _ACEOF
   19715 if ac_fn_c_try_compile "$LINENO"
   19716 then :
   19717   xorg_cv_cc_flag_unknown_warning_option=yes
   19718 else case e in #(
   19719   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19720 esac
   19721 fi
   19722 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19723 esac
   19724 fi
   19725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19726 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19727 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19728 	CFLAGS="$xorg_testset_save_CFLAGS"
   19729 fi
   19730 
   19731 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19732 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19733 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19734 	fi
   19735 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19736 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19737 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19738 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19739 then :
   19740   printf %s "(cached) " >&6
   19741 else case e in #(
   19742   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19743 /* end confdefs.h.  */
   19744 int i;
   19745 _ACEOF
   19746 if ac_fn_c_try_compile "$LINENO"
   19747 then :
   19748   xorg_cv_cc_flag_unused_command_line_argument=yes
   19749 else case e in #(
   19750   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19751 esac
   19752 fi
   19753 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19754 esac
   19755 fi
   19756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19757 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19758 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19759 	CFLAGS="$xorg_testset_save_CFLAGS"
   19760 fi
   19761 
   19762 found="no"
   19763 
   19764 	if test $found = "no" ; then
   19765 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19766 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19767 		fi
   19768 
   19769 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19770 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19771 		fi
   19772 
   19773 		CFLAGS="$CFLAGS -pedantic"
   19774 
   19775 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   19776 printf %s "checking if $CC supports -pedantic... " >&6; }
   19777 		cacheid=xorg_cv_cc_flag__pedantic
   19778 		if eval test \${$cacheid+y}
   19779 then :
   19780   printf %s "(cached) " >&6
   19781 else case e in #(
   19782   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19783 /* end confdefs.h.  */
   19784 int i;
   19785 int
   19786 main (void)
   19787 {
   19788 
   19789   ;
   19790   return 0;
   19791 }
   19792 _ACEOF
   19793 if ac_fn_c_try_link "$LINENO"
   19794 then :
   19795   eval $cacheid=yes
   19796 else case e in #(
   19797   e) eval $cacheid=no ;;
   19798 esac
   19799 fi
   19800 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19801     conftest$ac_exeext conftest.$ac_ext ;;
   19802 esac
   19803 fi
   19804 
   19805 
   19806 		CFLAGS="$xorg_testset_save_CFLAGS"
   19807 
   19808 		eval supported=\$$cacheid
   19809 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19810 printf "%s\n" "$supported" >&6; }
   19811 		if test "$supported" = "yes" ; then
   19812 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   19813 			found="yes"
   19814 		fi
   19815 	fi
   19816 
   19817 
   19818 
   19819 
   19820 
   19821 
   19822 
   19823 
   19824 
   19825 
   19826 
   19827 
   19828 
   19829 
   19830 
   19831 xorg_testset_save_CFLAGS="$CFLAGS"
   19832 
   19833 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19834 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19835 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19836 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19837 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19838 then :
   19839   printf %s "(cached) " >&6
   19840 else case e in #(
   19841   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19842 /* end confdefs.h.  */
   19843 int i;
   19844 _ACEOF
   19845 if ac_fn_c_try_compile "$LINENO"
   19846 then :
   19847   xorg_cv_cc_flag_unknown_warning_option=yes
   19848 else case e in #(
   19849   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19850 esac
   19851 fi
   19852 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19853 esac
   19854 fi
   19855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19856 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19857 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19858 	CFLAGS="$xorg_testset_save_CFLAGS"
   19859 fi
   19860 
   19861 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19862 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19863 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19864 	fi
   19865 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19866 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19867 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19868 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19869 then :
   19870   printf %s "(cached) " >&6
   19871 else case e in #(
   19872   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19873 /* end confdefs.h.  */
   19874 int i;
   19875 _ACEOF
   19876 if ac_fn_c_try_compile "$LINENO"
   19877 then :
   19878   xorg_cv_cc_flag_unused_command_line_argument=yes
   19879 else case e in #(
   19880   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19881 esac
   19882 fi
   19883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19884 esac
   19885 fi
   19886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19887 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19888 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19889 	CFLAGS="$xorg_testset_save_CFLAGS"
   19890 fi
   19891 
   19892 found="no"
   19893 
   19894 	if test $found = "no" ; then
   19895 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19896 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19897 		fi
   19898 
   19899 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19900 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19901 		fi
   19902 
   19903 		CFLAGS="$CFLAGS -Werror"
   19904 
   19905 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   19906 printf %s "checking if $CC supports -Werror... " >&6; }
   19907 		cacheid=xorg_cv_cc_flag__Werror
   19908 		if eval test \${$cacheid+y}
   19909 then :
   19910   printf %s "(cached) " >&6
   19911 else case e in #(
   19912   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19913 /* end confdefs.h.  */
   19914 int i;
   19915 int
   19916 main (void)
   19917 {
   19918 
   19919   ;
   19920   return 0;
   19921 }
   19922 _ACEOF
   19923 if ac_fn_c_try_link "$LINENO"
   19924 then :
   19925   eval $cacheid=yes
   19926 else case e in #(
   19927   e) eval $cacheid=no ;;
   19928 esac
   19929 fi
   19930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19931     conftest$ac_exeext conftest.$ac_ext ;;
   19932 esac
   19933 fi
   19934 
   19935 
   19936 		CFLAGS="$xorg_testset_save_CFLAGS"
   19937 
   19938 		eval supported=\$$cacheid
   19939 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19940 printf "%s\n" "$supported" >&6; }
   19941 		if test "$supported" = "yes" ; then
   19942 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   19943 			found="yes"
   19944 		fi
   19945 	fi
   19946 
   19947 	if test $found = "no" ; then
   19948 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19949 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19950 		fi
   19951 
   19952 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19953 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19954 		fi
   19955 
   19956 		CFLAGS="$CFLAGS -errwarn"
   19957 
   19958 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   19959 printf %s "checking if $CC supports -errwarn... " >&6; }
   19960 		cacheid=xorg_cv_cc_flag__errwarn
   19961 		if eval test \${$cacheid+y}
   19962 then :
   19963   printf %s "(cached) " >&6
   19964 else case e in #(
   19965   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19966 /* end confdefs.h.  */
   19967 int i;
   19968 int
   19969 main (void)
   19970 {
   19971 
   19972   ;
   19973   return 0;
   19974 }
   19975 _ACEOF
   19976 if ac_fn_c_try_link "$LINENO"
   19977 then :
   19978   eval $cacheid=yes
   19979 else case e in #(
   19980   e) eval $cacheid=no ;;
   19981 esac
   19982 fi
   19983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19984     conftest$ac_exeext conftest.$ac_ext ;;
   19985 esac
   19986 fi
   19987 
   19988 
   19989 		CFLAGS="$xorg_testset_save_CFLAGS"
   19990 
   19991 		eval supported=\$$cacheid
   19992 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19993 printf "%s\n" "$supported" >&6; }
   19994 		if test "$supported" = "yes" ; then
   19995 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   19996 			found="yes"
   19997 		fi
   19998 	fi
   19999 
   20000 
   20001 
   20002 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   20003 # activate it with -Werror, so we add it here explicitly.
   20004 
   20005 
   20006 
   20007 
   20008 
   20009 
   20010 
   20011 
   20012 
   20013 
   20014 
   20015 
   20016 
   20017 xorg_testset_save_CFLAGS="$CFLAGS"
   20018 
   20019 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20020 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20021 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20022 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20023 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20024 then :
   20025   printf %s "(cached) " >&6
   20026 else case e in #(
   20027   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20028 /* end confdefs.h.  */
   20029 int i;
   20030 _ACEOF
   20031 if ac_fn_c_try_compile "$LINENO"
   20032 then :
   20033   xorg_cv_cc_flag_unknown_warning_option=yes
   20034 else case e in #(
   20035   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20036 esac
   20037 fi
   20038 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20039 esac
   20040 fi
   20041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20042 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20043 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20044 	CFLAGS="$xorg_testset_save_CFLAGS"
   20045 fi
   20046 
   20047 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20048 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20049 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20050 	fi
   20051 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20052 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20053 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20054 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20055 then :
   20056   printf %s "(cached) " >&6
   20057 else case e in #(
   20058   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20059 /* end confdefs.h.  */
   20060 int i;
   20061 _ACEOF
   20062 if ac_fn_c_try_compile "$LINENO"
   20063 then :
   20064   xorg_cv_cc_flag_unused_command_line_argument=yes
   20065 else case e in #(
   20066   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20067 esac
   20068 fi
   20069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20070 esac
   20071 fi
   20072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20073 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20074 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20075 	CFLAGS="$xorg_testset_save_CFLAGS"
   20076 fi
   20077 
   20078 found="no"
   20079 
   20080 	if test $found = "no" ; then
   20081 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20082 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20083 		fi
   20084 
   20085 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20086 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20087 		fi
   20088 
   20089 		CFLAGS="$CFLAGS -Werror=attributes"
   20090 
   20091 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   20092 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   20093 		cacheid=xorg_cv_cc_flag__Werror_attributes
   20094 		if eval test \${$cacheid+y}
   20095 then :
   20096   printf %s "(cached) " >&6
   20097 else case e in #(
   20098   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20099 /* end confdefs.h.  */
   20100 int i;
   20101 int
   20102 main (void)
   20103 {
   20104 
   20105   ;
   20106   return 0;
   20107 }
   20108 _ACEOF
   20109 if ac_fn_c_try_link "$LINENO"
   20110 then :
   20111   eval $cacheid=yes
   20112 else case e in #(
   20113   e) eval $cacheid=no ;;
   20114 esac
   20115 fi
   20116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20117     conftest$ac_exeext conftest.$ac_ext ;;
   20118 esac
   20119 fi
   20120 
   20121 
   20122 		CFLAGS="$xorg_testset_save_CFLAGS"
   20123 
   20124 		eval supported=\$$cacheid
   20125 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20126 printf "%s\n" "$supported" >&6; }
   20127 		if test "$supported" = "yes" ; then
   20128 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   20129 			found="yes"
   20130 		fi
   20131 	fi
   20132 
   20133 
   20134 
   20135 if test "x$STRICT_COMPILE" = "xyes"; then
   20136     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   20137     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   20138 fi
   20139 
   20140 
   20141 
   20142 
   20143 
   20144 
   20145 
   20146 
   20147 cat >>confdefs.h <<_ACEOF
   20148 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20149 _ACEOF
   20150 
   20151 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20152 	if test "x$PVM" = "x"; then
   20153 		PVM="0"
   20154 	fi
   20155 
   20156 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   20157 
   20158 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20159 	if test "x$PVP" = "x"; then
   20160 		PVP="0"
   20161 	fi
   20162 
   20163 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   20164 
   20165 
   20166 
   20167 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   20168 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   20169 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   20170 touch \$(top_srcdir)/ChangeLog; \
   20171 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   20172 
   20173 
   20174 
   20175 
   20176 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   20177 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   20178 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   20179 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   20180 touch \$(top_srcdir)/INSTALL; \
   20181 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   20182 
   20183 
   20184 
   20185 
   20186 
   20187 
   20188 case $host_os in
   20189     solaris*)
   20190         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   20191         # check for a man page file found in later versions that use
   20192         # traditional section numbers instead
   20193         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   20194 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   20195 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   20196 then :
   20197   printf %s "(cached) " >&6
   20198 else case e in #(
   20199   e) test "$cross_compiling" = yes &&
   20200   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   20201 if test -r "/usr/share/man/man7/attributes.7"; then
   20202   ac_cv_file__usr_share_man_man7_attributes_7=yes
   20203 else
   20204   ac_cv_file__usr_share_man_man7_attributes_7=no
   20205 fi ;;
   20206 esac
   20207 fi
   20208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   20209 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   20210 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   20211 then :
   20212   SYSV_MAN_SECTIONS=false
   20213 else case e in #(
   20214   e) SYSV_MAN_SECTIONS=true ;;
   20215 esac
   20216 fi
   20217 
   20218         ;;
   20219     *) SYSV_MAN_SECTIONS=false ;;
   20220 esac
   20221 
   20222 if test x$APP_MAN_SUFFIX = x    ; then
   20223     APP_MAN_SUFFIX=1
   20224 fi
   20225 if test x$APP_MAN_DIR = x    ; then
   20226     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20227 fi
   20228 
   20229 if test x$LIB_MAN_SUFFIX = x    ; then
   20230     LIB_MAN_SUFFIX=3
   20231 fi
   20232 if test x$LIB_MAN_DIR = x    ; then
   20233     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20234 fi
   20235 
   20236 if test x$FILE_MAN_SUFFIX = x    ; then
   20237     case $SYSV_MAN_SECTIONS in
   20238 	true)				FILE_MAN_SUFFIX=4  ;;
   20239 	*)				FILE_MAN_SUFFIX=5  ;;
   20240     esac
   20241 fi
   20242 if test x$FILE_MAN_DIR = x    ; then
   20243     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20244 fi
   20245 
   20246 if test x$MISC_MAN_SUFFIX = x    ; then
   20247     case $SYSV_MAN_SECTIONS in
   20248 	true)				MISC_MAN_SUFFIX=5  ;;
   20249 	*)				MISC_MAN_SUFFIX=7  ;;
   20250     esac
   20251 fi
   20252 if test x$MISC_MAN_DIR = x    ; then
   20253     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20254 fi
   20255 
   20256 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20257     case $SYSV_MAN_SECTIONS in
   20258 	true)				DRIVER_MAN_SUFFIX=7  ;;
   20259 	*)				DRIVER_MAN_SUFFIX=4  ;;
   20260     esac
   20261 fi
   20262 if test x$DRIVER_MAN_DIR = x    ; then
   20263     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20264 fi
   20265 
   20266 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20267     case $SYSV_MAN_SECTIONS in
   20268 	true)				ADMIN_MAN_SUFFIX=1m ;;
   20269 	*)				ADMIN_MAN_SUFFIX=8  ;;
   20270     esac
   20271 fi
   20272 if test x$ADMIN_MAN_DIR = x    ; then
   20273     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20274 fi
   20275 
   20276 
   20277 
   20278 
   20279 
   20280 
   20281 
   20282 
   20283 
   20284 
   20285 
   20286 
   20287 
   20288 
   20289 
   20290 XORG_MAN_PAGE="X Version 11"
   20291 
   20292 MAN_SUBSTS="\
   20293 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20294 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20295 	-e 's|__xservername__|Xorg|g' \
   20296 	-e 's|__xconfigfile__|xorg.conf|g' \
   20297 	-e 's|__projectroot__|\$(prefix)|g' \
   20298 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   20299 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   20300 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   20301 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   20302 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   20303 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   20304 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   20305 
   20306 
   20307 
   20308 
   20309 AM_DEFAULT_VERBOSITY=0
   20310 
   20311 
   20312 
   20313 # Check whether --enable-malloc0returnsnull was given.
   20314 if test ${enable_malloc0returnsnull+y}
   20315 then :
   20316   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   20317 else case e in #(
   20318   e) MALLOC_ZERO_RETURNS_NULL=yes ;;
   20319 esac
   20320 fi
   20321 
   20322 
   20323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to act as if malloc(0) can return NULL" >&5
   20324 printf %s "checking whether to act as if malloc(0) can return NULL... " >&6; }
   20325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   20326 printf "%s\n" "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   20327 
   20328 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   20329 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   20330 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   20331 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   20332 else
   20333 	MALLOC_ZERO_CFLAGS=""
   20334 	XMALLOC_ZERO_CFLAGS=""
   20335 	XTMALLOC_ZERO_CFLAGS=""
   20336 fi
   20337 
   20338 
   20339 
   20340 
   20341 
   20342 
   20343 # Obtain compiler/linker options for dependencies
   20344 
   20345 pkg_failed=no
   20346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XV" >&5
   20347 printf %s "checking for XV... " >&6; }
   20348 
   20349 if test -n "$XV_CFLAGS"; then
   20350     pkg_cv_XV_CFLAGS="$XV_CFLAGS"
   20351  elif test -n "$PKG_CONFIG"; then
   20352     if test -n "$PKG_CONFIG" && \
   20353     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 xext xextproto videoproto\""; } >&5
   20354   ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 xext xextproto videoproto") 2>&5
   20355   ac_status=$?
   20356   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20357   test $ac_status = 0; }; then
   20358   pkg_cv_XV_CFLAGS=`$PKG_CONFIG --cflags "x11 >= 1.6 xext xextproto videoproto" 2>/dev/null`
   20359 		      test "x$?" != "x0" && pkg_failed=yes
   20360 else
   20361   pkg_failed=yes
   20362 fi
   20363  else
   20364     pkg_failed=untried
   20365 fi
   20366 if test -n "$XV_LIBS"; then
   20367     pkg_cv_XV_LIBS="$XV_LIBS"
   20368  elif test -n "$PKG_CONFIG"; then
   20369     if test -n "$PKG_CONFIG" && \
   20370     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 xext xextproto videoproto\""; } >&5
   20371   ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 xext xextproto videoproto") 2>&5
   20372   ac_status=$?
   20373   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20374   test $ac_status = 0; }; then
   20375   pkg_cv_XV_LIBS=`$PKG_CONFIG --libs "x11 >= 1.6 xext xextproto videoproto" 2>/dev/null`
   20376 		      test "x$?" != "x0" && pkg_failed=yes
   20377 else
   20378   pkg_failed=yes
   20379 fi
   20380  else
   20381     pkg_failed=untried
   20382 fi
   20383 
   20384 
   20385 
   20386 if test $pkg_failed = yes; then
   20387    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20388 printf "%s\n" "no" >&6; }
   20389 
   20390 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20391         _pkg_short_errors_supported=yes
   20392 else
   20393         _pkg_short_errors_supported=no
   20394 fi
   20395         if test $_pkg_short_errors_supported = yes; then
   20396 	        XV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 >= 1.6 xext xextproto videoproto" 2>&1`
   20397         else
   20398 	        XV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 >= 1.6 xext xextproto videoproto" 2>&1`
   20399         fi
   20400 	# Put the nasty error message in config.log where it belongs
   20401 	echo "$XV_PKG_ERRORS" >&5
   20402 
   20403 	as_fn_error $? "Package requirements (x11 >= 1.6 xext xextproto videoproto) were not met:
   20404 
   20405 $XV_PKG_ERRORS
   20406 
   20407 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20408 installed software in a non-standard prefix.
   20409 
   20410 Alternatively, you may set the environment variables XV_CFLAGS
   20411 and XV_LIBS to avoid the need to call pkg-config.
   20412 See the pkg-config man page for more details." "$LINENO" 5
   20413 elif test $pkg_failed = untried; then
   20414      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20415 printf "%s\n" "no" >&6; }
   20416 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   20417 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   20418 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20419 is in your PATH or set the PKG_CONFIG environment variable to the full
   20420 path to pkg-config.
   20421 
   20422 Alternatively, you may set the environment variables XV_CFLAGS
   20423 and XV_LIBS to avoid the need to call pkg-config.
   20424 See the pkg-config man page for more details.
   20425 
   20426 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20427 See 'config.log' for more details" "$LINENO" 5; }
   20428 else
   20429 	XV_CFLAGS=$pkg_cv_XV_CFLAGS
   20430 	XV_LIBS=$pkg_cv_XV_LIBS
   20431         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20432 printf "%s\n" "yes" >&6; }
   20433 
   20434 fi
   20435 
   20436 # Allow checking code with lint, sparse, etc.
   20437 
   20438 
   20439 
   20440 
   20441 
   20442 # Check whether --with-lint was given.
   20443 if test ${with_lint+y}
   20444 then :
   20445   withval=$with_lint; use_lint=$withval
   20446 else case e in #(
   20447   e) use_lint=no ;;
   20448 esac
   20449 fi
   20450 
   20451 
   20452 # Obtain platform specific info like program name and options
   20453 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   20454 case $host_os in
   20455   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   20456 	lint_name=splint
   20457 	lint_options="-badflag"
   20458 	;;
   20459   *freebsd* | *netbsd*)
   20460 	lint_name=lint
   20461 	lint_options="-u -b"
   20462 	;;
   20463   *solaris*)
   20464 	lint_name=lint
   20465 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   20466 	;;
   20467 esac
   20468 
   20469 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   20470 if test "x$use_lint" = x"yes" ; then
   20471    # Extract the first word of "$lint_name", so it can be a program name with args.
   20472 set dummy $lint_name; ac_word=$2
   20473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20474 printf %s "checking for $ac_word... " >&6; }
   20475 if test ${ac_cv_path_LINT+y}
   20476 then :
   20477   printf %s "(cached) " >&6
   20478 else case e in #(
   20479   e) case $LINT in
   20480   [\\/]* | ?:[\\/]*)
   20481   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   20482   ;;
   20483   *)
   20484   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20485 for as_dir in $PATH
   20486 do
   20487   IFS=$as_save_IFS
   20488   case $as_dir in #(((
   20489     '') as_dir=./ ;;
   20490     */) ;;
   20491     *) as_dir=$as_dir/ ;;
   20492   esac
   20493     for ac_exec_ext in '' $ac_executable_extensions; do
   20494   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20495     ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
   20496     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20497     break 2
   20498   fi
   20499 done
   20500   done
   20501 IFS=$as_save_IFS
   20502 
   20503   ;;
   20504 esac ;;
   20505 esac
   20506 fi
   20507 LINT=$ac_cv_path_LINT
   20508 if test -n "$LINT"; then
   20509   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   20510 printf "%s\n" "$LINT" >&6; }
   20511 else
   20512   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20513 printf "%s\n" "no" >&6; }
   20514 fi
   20515 
   20516 
   20517    if test "x$LINT" = "x"; then
   20518         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   20519    fi
   20520 elif test "x$use_lint" = x"no" ; then
   20521    if test "x$LINT" != "x"; then
   20522       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   20523 printf "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   20524    fi
   20525 else
   20526    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   20527 fi
   20528 
   20529 # User supplied flags override default flags
   20530 if test "x$LINT_FLAGS" != "x"; then
   20531    lint_options=$LINT_FLAGS
   20532 fi
   20533 
   20534 LINT_FLAGS=$lint_options
   20535 
   20536  if test "x$LINT" != x; then
   20537   LINT_TRUE=
   20538   LINT_FALSE='#'
   20539 else
   20540   LINT_TRUE='#'
   20541   LINT_FALSE=
   20542 fi
   20543 
   20544 
   20545 
   20546 
   20547 
   20548 # Check whether --enable-lint-library was given.
   20549 if test ${enable_lint_library+y}
   20550 then :
   20551   enableval=$enable_lint_library; make_lint_lib=$enableval
   20552 else case e in #(
   20553   e) make_lint_lib=no ;;
   20554 esac
   20555 fi
   20556 
   20557 
   20558 if test "x$make_lint_lib" = x"yes" ; then
   20559    LINTLIB=llib-lXv.ln
   20560    if test "x$LINT" = "x"; then
   20561         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   20562    fi
   20563 elif test "x$make_lint_lib" != x"no" ; then
   20564    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   20565 fi
   20566 
   20567 
   20568  if test x$make_lint_lib != xno; then
   20569   MAKE_LINT_LIB_TRUE=
   20570   MAKE_LINT_LIB_FALSE='#'
   20571 else
   20572   MAKE_LINT_LIB_TRUE='#'
   20573   MAKE_LINT_LIB_FALSE=
   20574 fi
   20575 
   20576 
   20577 
   20578 
   20579 ac_config_files="$ac_config_files Makefile include/Makefile include/X11/Makefile include/X11/extensions/Makefile src/Makefile man/Makefile xv.pc"
   20580 
   20581 cat >confcache <<\_ACEOF
   20582 # This file is a shell script that caches the results of configure
   20583 # tests run on this system so they can be shared between configure
   20584 # scripts and configure runs, see configure's option --config-cache.
   20585 # It is not useful on other systems.  If it contains results you don't
   20586 # want to keep, you may remove or edit it.
   20587 #
   20588 # config.status only pays attention to the cache file if you give it
   20589 # the --recheck option to rerun configure.
   20590 #
   20591 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   20592 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   20593 # following values.
   20594 
   20595 _ACEOF
   20596 
   20597 # The following way of writing the cache mishandles newlines in values,
   20598 # but we know of no workaround that is simple, portable, and efficient.
   20599 # So, we kill variables containing newlines.
   20600 # Ultrix sh set writes to stderr and can't be redirected directly,
   20601 # and sets the high bit in the cache file unless we assign to the vars.
   20602 (
   20603   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20604     eval ac_val=\$$ac_var
   20605     case $ac_val in #(
   20606     *${as_nl}*)
   20607       case $ac_var in #(
   20608       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20609 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20610       esac
   20611       case $ac_var in #(
   20612       _ | IFS | as_nl) ;; #(
   20613       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20614       *) { eval $ac_var=; unset $ac_var;} ;;
   20615       esac ;;
   20616     esac
   20617   done
   20618 
   20619   (set) 2>&1 |
   20620     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20621     *${as_nl}ac_space=\ *)
   20622       # 'set' does not quote correctly, so add quotes: double-quote
   20623       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20624       sed -n \
   20625 	"s/'/'\\\\''/g;
   20626 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20627       ;; #(
   20628     *)
   20629       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   20630       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20631       ;;
   20632     esac |
   20633     sort
   20634 ) |
   20635   sed '
   20636      /^ac_cv_env_/b end
   20637      t clear
   20638      :clear
   20639      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20640      t end
   20641      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20642      :end' >>confcache
   20643 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20644   if test -w "$cache_file"; then
   20645     if test "x$cache_file" != "x/dev/null"; then
   20646       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20647 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20648       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20649 	cat confcache >"$cache_file"
   20650       else
   20651         case $cache_file in #(
   20652         */* | ?:*)
   20653 	  mv -f confcache "$cache_file"$$ &&
   20654 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20655         *)
   20656 	  mv -f confcache "$cache_file" ;;
   20657 	esac
   20658       fi
   20659     fi
   20660   else
   20661     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20662 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20663   fi
   20664 fi
   20665 rm -f confcache
   20666 
   20667 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20668 # Let make expand exec_prefix.
   20669 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20670 
   20671 DEFS=-DHAVE_CONFIG_H
   20672 
   20673 ac_libobjs=
   20674 ac_ltlibobjs=
   20675 U=
   20676 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20677   # 1. Remove the extension, and $U if already installed.
   20678   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20679   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20680   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20681   #    will be set to the directory where LIBOBJS objects are built.
   20682   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20683   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20684 done
   20685 LIBOBJS=$ac_libobjs
   20686 
   20687 LTLIBOBJS=$ac_ltlibobjs
   20688 
   20689 
   20690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20691 printf %s "checking that generated files are newer than configure... " >&6; }
   20692    if test -n "$am_sleep_pid"; then
   20693      # Hide warnings about reused PIDs.
   20694      wait $am_sleep_pid 2>/dev/null
   20695    fi
   20696    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20697 printf "%s\n" "done" >&6; }
   20698 case $enable_silent_rules in # (((
   20699   yes) AM_DEFAULT_VERBOSITY=0;;
   20700    no) AM_DEFAULT_VERBOSITY=1;;
   20701 esac
   20702 if test $am_cv_make_support_nested_variables = yes; then
   20703     AM_V='$(V)'
   20704   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   20705 else
   20706   AM_V=$AM_DEFAULT_VERBOSITY
   20707   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   20708 fi
   20709 
   20710  if test -n "$EXEEXT"; then
   20711   am__EXEEXT_TRUE=
   20712   am__EXEEXT_FALSE='#'
   20713 else
   20714   am__EXEEXT_TRUE='#'
   20715   am__EXEEXT_FALSE=
   20716 fi
   20717 
   20718 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20719   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20720 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20721 fi
   20722 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20723   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20724 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20725 fi
   20726 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   20727   as_fn_error $? "conditional \"LINT\" was never defined.
   20728 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20729 fi
   20730 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   20731   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   20732 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20733 fi
   20734 
   20735 : "${CONFIG_STATUS=./config.status}"
   20736 ac_write_fail=0
   20737 ac_clean_files_save=$ac_clean_files
   20738 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20740 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   20741 as_write_fail=0
   20742 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20743 #! $SHELL
   20744 # Generated by $as_me.
   20745 # Run this file to recreate the current configuration.
   20746 # Compiler output produced by configure, useful for debugging
   20747 # configure, is in config.log if it exists.
   20748 
   20749 debug=false
   20750 ac_cs_recheck=false
   20751 ac_cs_silent=false
   20752 
   20753 SHELL=\${CONFIG_SHELL-$SHELL}
   20754 export SHELL
   20755 _ASEOF
   20756 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20757 ## -------------------- ##
   20758 ## M4sh Initialization. ##
   20759 ## -------------------- ##
   20760 
   20761 # Be more Bourne compatible
   20762 DUALCASE=1; export DUALCASE # for MKS sh
   20763 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20764 then :
   20765   emulate sh
   20766   NULLCMD=:
   20767   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20768   # is contrary to our usage.  Disable this feature.
   20769   alias -g '${1+"$@"}'='"$@"'
   20770   setopt NO_GLOB_SUBST
   20771 else case e in #(
   20772   e) case `(set -o) 2>/dev/null` in #(
   20773   *posix*) :
   20774     set -o posix ;; #(
   20775   *) :
   20776      ;;
   20777 esac ;;
   20778 esac
   20779 fi
   20780 
   20781 
   20782 
   20783 # Reset variables that may have inherited troublesome values from
   20784 # the environment.
   20785 
   20786 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20787 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20788 # side effect of setting IFS to empty, thus disabling word splitting.)
   20789 # Quoting is to prevent editors from complaining about space-tab.
   20790 as_nl='
   20791 '
   20792 export as_nl
   20793 IFS=" ""	$as_nl"
   20794 
   20795 PS1='$ '
   20796 PS2='> '
   20797 PS4='+ '
   20798 
   20799 # Ensure predictable behavior from utilities with locale-dependent output.
   20800 LC_ALL=C
   20801 export LC_ALL
   20802 LANGUAGE=C
   20803 export LANGUAGE
   20804 
   20805 # We cannot yet rely on "unset" to work, but we need these variables
   20806 # to be unset--not just set to an empty or harmless value--now, to
   20807 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20808 # also avoids known problems related to "unset" and subshell syntax
   20809 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20810 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20811 do eval test \${$as_var+y} \
   20812   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20813 done
   20814 
   20815 # Ensure that fds 0, 1, and 2 are open.
   20816 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20817 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20818 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20819 
   20820 # The user is always right.
   20821 if ${PATH_SEPARATOR+false} :; then
   20822   PATH_SEPARATOR=:
   20823   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20824     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20825       PATH_SEPARATOR=';'
   20826   }
   20827 fi
   20828 
   20829 
   20830 # Find who we are.  Look in the path if we contain no directory separator.
   20831 as_myself=
   20832 case $0 in #((
   20833   *[\\/]* ) as_myself=$0 ;;
   20834   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20835 for as_dir in $PATH
   20836 do
   20837   IFS=$as_save_IFS
   20838   case $as_dir in #(((
   20839     '') as_dir=./ ;;
   20840     */) ;;
   20841     *) as_dir=$as_dir/ ;;
   20842   esac
   20843     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20844   done
   20845 IFS=$as_save_IFS
   20846 
   20847      ;;
   20848 esac
   20849 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   20850 # in which case we are not to be found in the path.
   20851 if test "x$as_myself" = x; then
   20852   as_myself=$0
   20853 fi
   20854 if test ! -f "$as_myself"; then
   20855   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20856   exit 1
   20857 fi
   20858 
   20859 
   20860 
   20861 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20862 # ----------------------------------------
   20863 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20864 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20865 # script with STATUS, using 1 if that was 0.
   20866 as_fn_error ()
   20867 {
   20868   as_status=$1; test $as_status -eq 0 && as_status=1
   20869   if test "$4"; then
   20870     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20871     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20872   fi
   20873   printf "%s\n" "$as_me: error: $2" >&2
   20874   as_fn_exit $as_status
   20875 } # as_fn_error
   20876 
   20877 
   20878 # as_fn_set_status STATUS
   20879 # -----------------------
   20880 # Set $? to STATUS, without forking.
   20881 as_fn_set_status ()
   20882 {
   20883   return $1
   20884 } # as_fn_set_status
   20885 
   20886 # as_fn_exit STATUS
   20887 # -----------------
   20888 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20889 as_fn_exit ()
   20890 {
   20891   set +e
   20892   as_fn_set_status $1
   20893   exit $1
   20894 } # as_fn_exit
   20895 
   20896 # as_fn_unset VAR
   20897 # ---------------
   20898 # Portably unset VAR.
   20899 as_fn_unset ()
   20900 {
   20901   { eval $1=; unset $1;}
   20902 }
   20903 as_unset=as_fn_unset
   20904 
   20905 # as_fn_append VAR VALUE
   20906 # ----------------------
   20907 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20908 # advantage of any shell optimizations that allow amortized linear growth over
   20909 # repeated appends, instead of the typical quadratic growth present in naive
   20910 # implementations.
   20911 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20912 then :
   20913   eval 'as_fn_append ()
   20914   {
   20915     eval $1+=\$2
   20916   }'
   20917 else case e in #(
   20918   e) as_fn_append ()
   20919   {
   20920     eval $1=\$$1\$2
   20921   } ;;
   20922 esac
   20923 fi # as_fn_append
   20924 
   20925 # as_fn_arith ARG...
   20926 # ------------------
   20927 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20928 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20929 # must be portable across $(()) and expr.
   20930 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   20931 then :
   20932   eval 'as_fn_arith ()
   20933   {
   20934     as_val=$(( $* ))
   20935   }'
   20936 else case e in #(
   20937   e) as_fn_arith ()
   20938   {
   20939     as_val=`expr "$@" || test $? -eq 1`
   20940   } ;;
   20941 esac
   20942 fi # as_fn_arith
   20943 
   20944 
   20945 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20946    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20947   as_expr=expr
   20948 else
   20949   as_expr=false
   20950 fi
   20951 
   20952 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20953   as_basename=basename
   20954 else
   20955   as_basename=false
   20956 fi
   20957 
   20958 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20959   as_dirname=dirname
   20960 else
   20961   as_dirname=false
   20962 fi
   20963 
   20964 as_me=`$as_basename -- "$0" ||
   20965 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20966 	 X"$0" : 'X\(//\)$' \| \
   20967 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20968 printf "%s\n" X/"$0" |
   20969     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20970 	    s//\1/
   20971 	    q
   20972 	  }
   20973 	  /^X\/\(\/\/\)$/{
   20974 	    s//\1/
   20975 	    q
   20976 	  }
   20977 	  /^X\/\(\/\).*/{
   20978 	    s//\1/
   20979 	    q
   20980 	  }
   20981 	  s/.*/./; q'`
   20982 
   20983 # Avoid depending upon Character Ranges.
   20984 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20985 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20986 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20987 as_cr_digits='0123456789'
   20988 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20989 
   20990 
   20991 # Determine whether it's possible to make 'echo' print without a newline.
   20992 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   20993 # for compatibility with existing Makefiles.
   20994 ECHO_C= ECHO_N= ECHO_T=
   20995 case `echo -n x` in #(((((
   20996 -n*)
   20997   case `echo 'xy\c'` in
   20998   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20999   xy)  ECHO_C='\c';;
   21000   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   21001        ECHO_T='	';;
   21002   esac;;
   21003 *)
   21004   ECHO_N='-n';;
   21005 esac
   21006 
   21007 # For backward compatibility with old third-party macros, we provide
   21008 # the shell variables $as_echo and $as_echo_n.  New code should use
   21009 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   21010 as_echo='printf %s\n'
   21011 as_echo_n='printf %s'
   21012 
   21013 rm -f conf$$ conf$$.exe conf$$.file
   21014 if test -d conf$$.dir; then
   21015   rm -f conf$$.dir/conf$$.file
   21016 else
   21017   rm -f conf$$.dir
   21018   mkdir conf$$.dir 2>/dev/null
   21019 fi
   21020 if (echo >conf$$.file) 2>/dev/null; then
   21021   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21022     as_ln_s='ln -s'
   21023     # ... but there are two gotchas:
   21024     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   21025     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   21026     # In both cases, we have to default to 'cp -pR'.
   21027     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21028       as_ln_s='cp -pR'
   21029   elif ln conf$$.file conf$$ 2>/dev/null; then
   21030     as_ln_s=ln
   21031   else
   21032     as_ln_s='cp -pR'
   21033   fi
   21034 else
   21035   as_ln_s='cp -pR'
   21036 fi
   21037 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21038 rmdir conf$$.dir 2>/dev/null
   21039 
   21040 
   21041 # as_fn_mkdir_p
   21042 # -------------
   21043 # Create "$as_dir" as a directory, including parents if necessary.
   21044 as_fn_mkdir_p ()
   21045 {
   21046 
   21047   case $as_dir in #(
   21048   -*) as_dir=./$as_dir;;
   21049   esac
   21050   test -d "$as_dir" || eval $as_mkdir_p || {
   21051     as_dirs=
   21052     while :; do
   21053       case $as_dir in #(
   21054       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21055       *) as_qdir=$as_dir;;
   21056       esac
   21057       as_dirs="'$as_qdir' $as_dirs"
   21058       as_dir=`$as_dirname -- "$as_dir" ||
   21059 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21060 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21061 	 X"$as_dir" : 'X\(//\)$' \| \
   21062 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21063 printf "%s\n" X"$as_dir" |
   21064     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21065 	    s//\1/
   21066 	    q
   21067 	  }
   21068 	  /^X\(\/\/\)[^/].*/{
   21069 	    s//\1/
   21070 	    q
   21071 	  }
   21072 	  /^X\(\/\/\)$/{
   21073 	    s//\1/
   21074 	    q
   21075 	  }
   21076 	  /^X\(\/\).*/{
   21077 	    s//\1/
   21078 	    q
   21079 	  }
   21080 	  s/.*/./; q'`
   21081       test -d "$as_dir" && break
   21082     done
   21083     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21084   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21085 
   21086 
   21087 } # as_fn_mkdir_p
   21088 if mkdir -p . 2>/dev/null; then
   21089   as_mkdir_p='mkdir -p "$as_dir"'
   21090 else
   21091   test -d ./-p && rmdir ./-p
   21092   as_mkdir_p=false
   21093 fi
   21094 
   21095 
   21096 # as_fn_executable_p FILE
   21097 # -----------------------
   21098 # Test if FILE is an executable regular file.
   21099 as_fn_executable_p ()
   21100 {
   21101   test -f "$1" && test -x "$1"
   21102 } # as_fn_executable_p
   21103 as_test_x='test -x'
   21104 as_executable_p=as_fn_executable_p
   21105 
   21106 # Sed expression to map a string onto a valid CPP name.
   21107 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   21108 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   21109 
   21110 # Sed expression to map a string onto a valid variable name.
   21111 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   21112 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   21113 
   21114 
   21115 exec 6>&1
   21116 ## ----------------------------------- ##
   21117 ## Main body of $CONFIG_STATUS script. ##
   21118 ## ----------------------------------- ##
   21119 _ASEOF
   21120 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   21121 
   21122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21123 # Save the log message, to keep $0 and so on meaningful, and to
   21124 # report actual input values of CONFIG_FILES etc. instead of their
   21125 # values after options handling.
   21126 ac_log="
   21127 This file was extended by libXv $as_me 1.0.13, which was
   21128 generated by GNU Autoconf 2.72.  Invocation command line was
   21129 
   21130   CONFIG_FILES    = $CONFIG_FILES
   21131   CONFIG_HEADERS  = $CONFIG_HEADERS
   21132   CONFIG_LINKS    = $CONFIG_LINKS
   21133   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21134   $ $0 $@
   21135 
   21136 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21137 "
   21138 
   21139 _ACEOF
   21140 
   21141 case $ac_config_files in *"
   21142 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21143 esac
   21144 
   21145 case $ac_config_headers in *"
   21146 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21147 esac
   21148 
   21149 
   21150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21151 # Files that config.status was made for.
   21152 config_files="$ac_config_files"
   21153 config_headers="$ac_config_headers"
   21154 config_commands="$ac_config_commands"
   21155 
   21156 _ACEOF
   21157 
   21158 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21159 ac_cs_usage="\
   21160 '$as_me' instantiates files and other configuration actions
   21161 from templates according to the current configuration.  Unless the files
   21162 and actions are specified as TAGs, all are instantiated by default.
   21163 
   21164 Usage: $0 [OPTION]... [TAG]...
   21165 
   21166   -h, --help       print this help, then exit
   21167   -V, --version    print version number and configuration settings, then exit
   21168       --config     print configuration, then exit
   21169   -q, --quiet, --silent
   21170                    do not print progress messages
   21171   -d, --debug      don't remove temporary files
   21172       --recheck    update $as_me by reconfiguring in the same conditions
   21173       --file=FILE[:TEMPLATE]
   21174                    instantiate the configuration file FILE
   21175       --header=FILE[:TEMPLATE]
   21176                    instantiate the configuration header FILE
   21177 
   21178 Configuration files:
   21179 $config_files
   21180 
   21181 Configuration headers:
   21182 $config_headers
   21183 
   21184 Configuration commands:
   21185 $config_commands
   21186 
   21187 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxv/-/issues>."
   21188 
   21189 _ACEOF
   21190 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   21191 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   21192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21193 ac_cs_config='$ac_cs_config_escaped'
   21194 ac_cs_version="\\
   21195 libXv config.status 1.0.13
   21196 configured by $0, generated by GNU Autoconf 2.72,
   21197   with options \\"\$ac_cs_config\\"
   21198 
   21199 Copyright (C) 2023 Free Software Foundation, Inc.
   21200 This config.status script is free software; the Free Software Foundation
   21201 gives unlimited permission to copy, distribute and modify it."
   21202 
   21203 ac_pwd='$ac_pwd'
   21204 srcdir='$srcdir'
   21205 INSTALL='$INSTALL'
   21206 MKDIR_P='$MKDIR_P'
   21207 AWK='$AWK'
   21208 test -n "\$AWK" || AWK=awk
   21209 _ACEOF
   21210 
   21211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21212 # The default lists apply if the user does not specify any file.
   21213 ac_need_defaults=:
   21214 while test $# != 0
   21215 do
   21216   case $1 in
   21217   --*=?*)
   21218     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21219     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21220     ac_shift=:
   21221     ;;
   21222   --*=)
   21223     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21224     ac_optarg=
   21225     ac_shift=:
   21226     ;;
   21227   *)
   21228     ac_option=$1
   21229     ac_optarg=$2
   21230     ac_shift=shift
   21231     ;;
   21232   esac
   21233 
   21234   case $ac_option in
   21235   # Handling of the options.
   21236   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21237     ac_cs_recheck=: ;;
   21238   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21239     printf "%s\n" "$ac_cs_version"; exit ;;
   21240   --config | --confi | --conf | --con | --co | --c )
   21241     printf "%s\n" "$ac_cs_config"; exit ;;
   21242   --debug | --debu | --deb | --de | --d | -d )
   21243     debug=: ;;
   21244   --file | --fil | --fi | --f )
   21245     $ac_shift
   21246     case $ac_optarg in
   21247     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21248     '') as_fn_error $? "missing file argument" ;;
   21249     esac
   21250     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21251     ac_need_defaults=false;;
   21252   --header | --heade | --head | --hea )
   21253     $ac_shift
   21254     case $ac_optarg in
   21255     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21256     esac
   21257     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21258     ac_need_defaults=false;;
   21259   --he | --h)
   21260     # Conflict between --help and --header
   21261     as_fn_error $? "ambiguous option: '$1'
   21262 Try '$0 --help' for more information.";;
   21263   --help | --hel | -h )
   21264     printf "%s\n" "$ac_cs_usage"; exit ;;
   21265   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21266   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21267     ac_cs_silent=: ;;
   21268 
   21269   # This is an error.
   21270   -*) as_fn_error $? "unrecognized option: '$1'
   21271 Try '$0 --help' for more information." ;;
   21272 
   21273   *) as_fn_append ac_config_targets " $1"
   21274      ac_need_defaults=false ;;
   21275 
   21276   esac
   21277   shift
   21278 done
   21279 
   21280 ac_configure_extra_args=
   21281 
   21282 if $ac_cs_silent; then
   21283   exec 6>/dev/null
   21284   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21285 fi
   21286 
   21287 _ACEOF
   21288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21289 if \$ac_cs_recheck; then
   21290   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21291   shift
   21292   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   21293   CONFIG_SHELL='$SHELL'
   21294   export CONFIG_SHELL
   21295   exec "\$@"
   21296 fi
   21297 
   21298 _ACEOF
   21299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21300 exec 5>>config.log
   21301 {
   21302   echo
   21303   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21304 ## Running $as_me. ##
   21305 _ASBOX
   21306   printf "%s\n" "$ac_log"
   21307 } >&5
   21308 
   21309 _ACEOF
   21310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21311 #
   21312 # INIT-COMMANDS
   21313 #
   21314 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21315 
   21316 
   21317 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21318 # if CDPATH is set.
   21319 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21320 
   21321 sed_quote_subst='$sed_quote_subst'
   21322 double_quote_subst='$double_quote_subst'
   21323 delay_variable_subst='$delay_variable_subst'
   21324 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21325 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21326 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21327 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21328 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21329 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21330 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21331 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21332 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21333 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21334 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21335 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21336 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21337 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21338 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21339 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21340 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21341 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21342 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21343 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21344 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21345 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21346 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21347 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21348 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21349 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21350 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21351 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21352 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21353 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21354 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21355 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21356 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21357 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21358 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   21359 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21360 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21361 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21362 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21363 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21364 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21365 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21366 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21367 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   21368 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21369 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21370 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21371 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21372 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21373 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21374 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21375 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21376 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21377 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21378 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21379 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21380 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21381 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21382 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21383 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21384 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"`'
   21385 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21386 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21387 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21388 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21389 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21390 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21391 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21392 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21393 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21394 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21395 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21396 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21397 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21398 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21399 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21400 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21401 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21402 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21403 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21404 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21405 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21406 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21407 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21408 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21409 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21410 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21411 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21412 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21413 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21414 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21415 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21416 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21417 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21418 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21419 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21420 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21421 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21422 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21423 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21424 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21425 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21426 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21427 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21428 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21429 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21430 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21431 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21432 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21433 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21434 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21435 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21436 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21437 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21438 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21439 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21440 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21441 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21442 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21443 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21444 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21445 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21446 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21447 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21448 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21449 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21450 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21451 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21452 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21453 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21454 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21455 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21456 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21457 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21458 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21459 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21460 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21461 
   21462 LTCC='$LTCC'
   21463 LTCFLAGS='$LTCFLAGS'
   21464 compiler='$compiler_DEFAULT'
   21465 
   21466 # A function that is used when there is no print builtin or printf.
   21467 func_fallback_echo ()
   21468 {
   21469   eval 'cat <<_LTECHO_EOF
   21470 \$1
   21471 _LTECHO_EOF'
   21472 }
   21473 
   21474 # Quote evaled strings.
   21475 for var in SHELL \
   21476 ECHO \
   21477 PATH_SEPARATOR \
   21478 SED \
   21479 GREP \
   21480 EGREP \
   21481 FGREP \
   21482 LD \
   21483 NM \
   21484 LN_S \
   21485 lt_SP2NL \
   21486 lt_NL2SP \
   21487 reload_flag \
   21488 FILECMD \
   21489 OBJDUMP \
   21490 deplibs_check_method \
   21491 file_magic_cmd \
   21492 file_magic_glob \
   21493 want_nocaseglob \
   21494 DLLTOOL \
   21495 sharedlib_from_linklib_cmd \
   21496 AR \
   21497 archiver_list_spec \
   21498 STRIP \
   21499 RANLIB \
   21500 CC \
   21501 CFLAGS \
   21502 compiler \
   21503 lt_cv_sys_global_symbol_pipe \
   21504 lt_cv_sys_global_symbol_to_cdecl \
   21505 lt_cv_sys_global_symbol_to_import \
   21506 lt_cv_sys_global_symbol_to_c_name_address \
   21507 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21508 lt_cv_nm_interface \
   21509 nm_file_list_spec \
   21510 lt_cv_truncate_bin \
   21511 lt_prog_compiler_no_builtin_flag \
   21512 lt_prog_compiler_pic \
   21513 lt_prog_compiler_wl \
   21514 lt_prog_compiler_static \
   21515 lt_cv_prog_compiler_c_o \
   21516 need_locks \
   21517 MANIFEST_TOOL \
   21518 DSYMUTIL \
   21519 NMEDIT \
   21520 LIPO \
   21521 OTOOL \
   21522 OTOOL64 \
   21523 shrext_cmds \
   21524 export_dynamic_flag_spec \
   21525 whole_archive_flag_spec \
   21526 compiler_needs_object \
   21527 with_gnu_ld \
   21528 allow_undefined_flag \
   21529 no_undefined_flag \
   21530 hardcode_libdir_flag_spec \
   21531 hardcode_libdir_separator \
   21532 exclude_expsyms \
   21533 include_expsyms \
   21534 file_list_spec \
   21535 variables_saved_for_relink \
   21536 libname_spec \
   21537 library_names_spec \
   21538 soname_spec \
   21539 install_override_mode \
   21540 finish_eval \
   21541 old_striplib \
   21542 striplib; do
   21543     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21544     *[\\\\\\\`\\"\\\$]*)
   21545       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21546       ;;
   21547     *)
   21548       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21549       ;;
   21550     esac
   21551 done
   21552 
   21553 # Double-quote double-evaled strings.
   21554 for var in reload_cmds \
   21555 old_postinstall_cmds \
   21556 old_postuninstall_cmds \
   21557 old_archive_cmds \
   21558 extract_expsyms_cmds \
   21559 old_archive_from_new_cmds \
   21560 old_archive_from_expsyms_cmds \
   21561 archive_cmds \
   21562 archive_expsym_cmds \
   21563 module_cmds \
   21564 module_expsym_cmds \
   21565 export_symbols_cmds \
   21566 prelink_cmds \
   21567 postlink_cmds \
   21568 postinstall_cmds \
   21569 postuninstall_cmds \
   21570 finish_cmds \
   21571 sys_lib_search_path_spec \
   21572 configure_time_dlsearch_path \
   21573 configure_time_lt_sys_library_path; do
   21574     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21575     *[\\\\\\\`\\"\\\$]*)
   21576       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21577       ;;
   21578     *)
   21579       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21580       ;;
   21581     esac
   21582 done
   21583 
   21584 ac_aux_dir='$ac_aux_dir'
   21585 
   21586 # See if we are running on zsh, and set the options that allow our
   21587 # commands through without removal of \ escapes INIT.
   21588 if test -n "\${ZSH_VERSION+set}"; then
   21589    setopt NO_GLOB_SUBST
   21590 fi
   21591 
   21592 
   21593     PACKAGE='$PACKAGE'
   21594     VERSION='$VERSION'
   21595     RM='$RM'
   21596     ofile='$ofile'
   21597 
   21598 
   21599 
   21600 
   21601 _ACEOF
   21602 
   21603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21604 
   21605 # Handling of arguments.
   21606 for ac_config_target in $ac_config_targets
   21607 do
   21608   case $ac_config_target in
   21609     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21610     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21611     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21612     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21613     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   21614     "include/X11/Makefile") CONFIG_FILES="$CONFIG_FILES include/X11/Makefile" ;;
   21615     "include/X11/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES include/X11/extensions/Makefile" ;;
   21616     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21617     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21618     "xv.pc") CONFIG_FILES="$CONFIG_FILES xv.pc" ;;
   21619 
   21620   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   21621   esac
   21622 done
   21623 
   21624 
   21625 # If the user did not use the arguments to specify the items to instantiate,
   21626 # then the envvar interface is used.  Set only those that are not.
   21627 # We use the long form for the default assignment because of an extremely
   21628 # bizarre bug on SunOS 4.1.3.
   21629 if $ac_need_defaults; then
   21630   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21631   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21632   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21633 fi
   21634 
   21635 # Have a temporary directory for convenience.  Make it in the build tree
   21636 # simply because there is no reason against having it here, and in addition,
   21637 # creating and moving files from /tmp can sometimes cause problems.
   21638 # Hook for its removal unless debugging.
   21639 # Note that there is a small window in which the directory will not be cleaned:
   21640 # after its creation but before its name has been assigned to '$tmp'.
   21641 $debug ||
   21642 {
   21643   tmp= ac_tmp=
   21644   trap 'exit_status=$?
   21645   : "${ac_tmp:=$tmp}"
   21646   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21647 ' 0
   21648   trap 'as_fn_exit 1' 1 2 13 15
   21649 }
   21650 # Create a (secure) tmp directory for tmp files.
   21651 
   21652 {
   21653   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21654   test -d "$tmp"
   21655 }  ||
   21656 {
   21657   tmp=./conf$$-$RANDOM
   21658   (umask 077 && mkdir "$tmp")
   21659 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21660 ac_tmp=$tmp
   21661 
   21662 # Set up the scripts for CONFIG_FILES section.
   21663 # No need to generate them if there are no CONFIG_FILES.
   21664 # This happens for instance with './config.status config.h'.
   21665 if test -n "$CONFIG_FILES"; then
   21666 
   21667 
   21668 ac_cr=`echo X | tr X '\015'`
   21669 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21670 # But we know of no other shell where ac_cr would be empty at this
   21671 # point, so we can use a bashism as a fallback.
   21672 if test "x$ac_cr" = x; then
   21673   eval ac_cr=\$\'\\r\'
   21674 fi
   21675 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21676 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21677   ac_cs_awk_cr='\\r'
   21678 else
   21679   ac_cs_awk_cr=$ac_cr
   21680 fi
   21681 
   21682 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21683 _ACEOF
   21684 
   21685 
   21686 {
   21687   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21688   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21689   echo "_ACEOF"
   21690 } >conf$$subs.sh ||
   21691   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21692 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21693 ac_delim='%!_!# '
   21694 for ac_last_try in false false false false false :; do
   21695   . ./conf$$subs.sh ||
   21696     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21697 
   21698   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21699   if test $ac_delim_n = $ac_delim_num; then
   21700     break
   21701   elif $ac_last_try; then
   21702     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21703   else
   21704     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21705   fi
   21706 done
   21707 rm -f conf$$subs.sh
   21708 
   21709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21710 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21711 _ACEOF
   21712 sed -n '
   21713 h
   21714 s/^/S["/; s/!.*/"]=/
   21715 p
   21716 g
   21717 s/^[^!]*!//
   21718 :repl
   21719 t repl
   21720 s/'"$ac_delim"'$//
   21721 t delim
   21722 :nl
   21723 h
   21724 s/\(.\{148\}\)..*/\1/
   21725 t more1
   21726 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21727 p
   21728 n
   21729 b repl
   21730 :more1
   21731 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21732 p
   21733 g
   21734 s/.\{148\}//
   21735 t nl
   21736 :delim
   21737 h
   21738 s/\(.\{148\}\)..*/\1/
   21739 t more2
   21740 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21741 p
   21742 b
   21743 :more2
   21744 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21745 p
   21746 g
   21747 s/.\{148\}//
   21748 t delim
   21749 ' <conf$$subs.awk | sed '
   21750 /^[^""]/{
   21751   N
   21752   s/\n//
   21753 }
   21754 ' >>$CONFIG_STATUS || ac_write_fail=1
   21755 rm -f conf$$subs.awk
   21756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21757 _ACAWK
   21758 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21759   for (key in S) S_is_set[key] = 1
   21760   FS = ""
   21761 
   21762 }
   21763 {
   21764   line = $ 0
   21765   nfields = split(line, field, "@")
   21766   substed = 0
   21767   len = length(field[1])
   21768   for (i = 2; i < nfields; i++) {
   21769     key = field[i]
   21770     keylen = length(key)
   21771     if (S_is_set[key]) {
   21772       value = S[key]
   21773       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21774       len += length(value) + length(field[++i])
   21775       substed = 1
   21776     } else
   21777       len += 1 + keylen
   21778   }
   21779 
   21780   print line
   21781 }
   21782 
   21783 _ACAWK
   21784 _ACEOF
   21785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21786 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21787   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21788 else
   21789   cat
   21790 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21791   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21792 _ACEOF
   21793 
   21794 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21795 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21796 # trailing colons and then remove the whole line if VPATH becomes empty
   21797 # (actually we leave an empty line to preserve line numbers).
   21798 if test "x$srcdir" = x.; then
   21799   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21800 h
   21801 s///
   21802 s/^/:/
   21803 s/[	 ]*$/:/
   21804 s/:\$(srcdir):/:/g
   21805 s/:\${srcdir}:/:/g
   21806 s/:@srcdir@:/:/g
   21807 s/^:*//
   21808 s/:*$//
   21809 x
   21810 s/\(=[	 ]*\).*/\1/
   21811 G
   21812 s/\n//
   21813 s/^[^=]*=[	 ]*$//
   21814 }'
   21815 fi
   21816 
   21817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21818 fi # test -n "$CONFIG_FILES"
   21819 
   21820 # Set up the scripts for CONFIG_HEADERS section.
   21821 # No need to generate them if there are no CONFIG_HEADERS.
   21822 # This happens for instance with './config.status Makefile'.
   21823 if test -n "$CONFIG_HEADERS"; then
   21824 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21825 BEGIN {
   21826 _ACEOF
   21827 
   21828 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   21829 # here-document in config.status, that substitutes the proper values into
   21830 # config.h.in to produce config.h.
   21831 
   21832 # Create a delimiter string that does not exist in confdefs.h, to ease
   21833 # handling of long lines.
   21834 ac_delim='%!_!# '
   21835 for ac_last_try in false false :; do
   21836   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21837   if test -z "$ac_tt"; then
   21838     break
   21839   elif $ac_last_try; then
   21840     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21841   else
   21842     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21843   fi
   21844 done
   21845 
   21846 # For the awk script, D is an array of macro values keyed by name,
   21847 # likewise P contains macro parameters if any.  Preserve backslash
   21848 # newline sequences.
   21849 
   21850 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21851 sed -n '
   21852 s/.\{148\}/&'"$ac_delim"'/g
   21853 t rset
   21854 :rset
   21855 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21856 t def
   21857 d
   21858 :def
   21859 s/\\$//
   21860 t bsnl
   21861 s/["\\]/\\&/g
   21862 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21863 D["\1"]=" \3"/p
   21864 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21865 d
   21866 :bsnl
   21867 s/["\\]/\\&/g
   21868 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21869 D["\1"]=" \3\\\\\\n"\\/p
   21870 t cont
   21871 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21872 t cont
   21873 d
   21874 :cont
   21875 n
   21876 s/.\{148\}/&'"$ac_delim"'/g
   21877 t clear
   21878 :clear
   21879 s/\\$//
   21880 t bsnlc
   21881 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21882 d
   21883 :bsnlc
   21884 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21885 b cont
   21886 ' <confdefs.h | sed '
   21887 s/'"$ac_delim"'/"\\\
   21888 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21889 
   21890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21891   for (key in D) D_is_set[key] = 1
   21892   FS = ""
   21893 }
   21894 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21895   line = \$ 0
   21896   split(line, arg, " ")
   21897   if (arg[1] == "#") {
   21898     defundef = arg[2]
   21899     mac1 = arg[3]
   21900   } else {
   21901     defundef = substr(arg[1], 2)
   21902     mac1 = arg[2]
   21903   }
   21904   split(mac1, mac2, "(") #)
   21905   macro = mac2[1]
   21906   prefix = substr(line, 1, index(line, defundef) - 1)
   21907   if (D_is_set[macro]) {
   21908     # Preserve the white space surrounding the "#".
   21909     print prefix "define", macro P[macro] D[macro]
   21910     next
   21911   } else {
   21912     # Replace #undef with comments.  This is necessary, for example,
   21913     # in the case of _POSIX_SOURCE, which is predefined and required
   21914     # on some systems where configure will not decide to define it.
   21915     if (defundef == "undef") {
   21916       print "/*", prefix defundef, macro, "*/"
   21917       next
   21918     }
   21919   }
   21920 }
   21921 { print }
   21922 _ACAWK
   21923 _ACEOF
   21924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21925   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21926 fi # test -n "$CONFIG_HEADERS"
   21927 
   21928 
   21929 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21930 shift
   21931 for ac_tag
   21932 do
   21933   case $ac_tag in
   21934   :[FHLC]) ac_mode=$ac_tag; continue;;
   21935   esac
   21936   case $ac_mode$ac_tag in
   21937   :[FHL]*:*);;
   21938   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   21939   :[FH]-) ac_tag=-:-;;
   21940   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21941   esac
   21942   ac_save_IFS=$IFS
   21943   IFS=:
   21944   set x $ac_tag
   21945   IFS=$ac_save_IFS
   21946   shift
   21947   ac_file=$1
   21948   shift
   21949 
   21950   case $ac_mode in
   21951   :L) ac_source=$1;;
   21952   :[FH])
   21953     ac_file_inputs=
   21954     for ac_f
   21955     do
   21956       case $ac_f in
   21957       -) ac_f="$ac_tmp/stdin";;
   21958       *) # Look for the file first in the build tree, then in the source tree
   21959 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21960 	 # because $ac_f cannot contain ':'.
   21961 	 test -f "$ac_f" ||
   21962 	   case $ac_f in
   21963 	   [\\/$]*) false;;
   21964 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21965 	   esac ||
   21966 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   21967       esac
   21968       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21969       as_fn_append ac_file_inputs " '$ac_f'"
   21970     done
   21971 
   21972     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   21973     # use $as_me), people would be surprised to read:
   21974     #    /* config.h.  Generated by config.status.  */
   21975     configure_input='Generated from '`
   21976 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21977 	`' by configure.'
   21978     if test x"$ac_file" != x-; then
   21979       configure_input="$ac_file.  $configure_input"
   21980       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21981 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   21982     fi
   21983     # Neutralize special characters interpreted by sed in replacement strings.
   21984     case $configure_input in #(
   21985     *\&* | *\|* | *\\* )
   21986        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   21987        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21988     *) ac_sed_conf_input=$configure_input;;
   21989     esac
   21990 
   21991     case $ac_tag in
   21992     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21993       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21994     esac
   21995     ;;
   21996   esac
   21997 
   21998   ac_dir=`$as_dirname -- "$ac_file" ||
   21999 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22000 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22001 	 X"$ac_file" : 'X\(//\)$' \| \
   22002 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22003 printf "%s\n" X"$ac_file" |
   22004     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22005 	    s//\1/
   22006 	    q
   22007 	  }
   22008 	  /^X\(\/\/\)[^/].*/{
   22009 	    s//\1/
   22010 	    q
   22011 	  }
   22012 	  /^X\(\/\/\)$/{
   22013 	    s//\1/
   22014 	    q
   22015 	  }
   22016 	  /^X\(\/\).*/{
   22017 	    s//\1/
   22018 	    q
   22019 	  }
   22020 	  s/.*/./; q'`
   22021   as_dir="$ac_dir"; as_fn_mkdir_p
   22022   ac_builddir=.
   22023 
   22024 case "$ac_dir" in
   22025 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22026 *)
   22027   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   22028   # A ".." for each directory in $ac_dir_suffix.
   22029   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22030   case $ac_top_builddir_sub in
   22031   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22032   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22033   esac ;;
   22034 esac
   22035 ac_abs_top_builddir=$ac_pwd
   22036 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22037 # for backward compatibility:
   22038 ac_top_builddir=$ac_top_build_prefix
   22039 
   22040 case $srcdir in
   22041   .)  # We are building in place.
   22042     ac_srcdir=.
   22043     ac_top_srcdir=$ac_top_builddir_sub
   22044     ac_abs_top_srcdir=$ac_pwd ;;
   22045   [\\/]* | ?:[\\/]* )  # Absolute name.
   22046     ac_srcdir=$srcdir$ac_dir_suffix;
   22047     ac_top_srcdir=$srcdir
   22048     ac_abs_top_srcdir=$srcdir ;;
   22049   *) # Relative name.
   22050     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22051     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22052     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22053 esac
   22054 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22055 
   22056 
   22057   case $ac_mode in
   22058   :F)
   22059   #
   22060   # CONFIG_FILE
   22061   #
   22062 
   22063   case $INSTALL in
   22064   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22065   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22066   esac
   22067   ac_MKDIR_P=$MKDIR_P
   22068   case $MKDIR_P in
   22069   [\\/$]* | ?:[\\/]* ) ;;
   22070   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22071   esac
   22072 _ACEOF
   22073 
   22074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22075 # If the template does not know about datarootdir, expand it.
   22076 # FIXME: This hack should be removed a few years after 2.60.
   22077 ac_datarootdir_hack=; ac_datarootdir_seen=
   22078 ac_sed_dataroot='
   22079 /datarootdir/ {
   22080   p
   22081   q
   22082 }
   22083 /@datadir@/p
   22084 /@docdir@/p
   22085 /@infodir@/p
   22086 /@localedir@/p
   22087 /@mandir@/p'
   22088 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22089 *datarootdir*) ac_datarootdir_seen=yes;;
   22090 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22091   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22092 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22093 _ACEOF
   22094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22095   ac_datarootdir_hack='
   22096   s&@datadir@&$datadir&g
   22097   s&@docdir@&$docdir&g
   22098   s&@infodir@&$infodir&g
   22099   s&@localedir@&$localedir&g
   22100   s&@mandir@&$mandir&g
   22101   s&\\\${datarootdir}&$datarootdir&g' ;;
   22102 esac
   22103 _ACEOF
   22104 
   22105 # Neutralize VPATH when '$srcdir' = '.'.
   22106 # Shell code in configure.ac might set extrasub.
   22107 # FIXME: do we really want to maintain this feature?
   22108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22109 ac_sed_extra="$ac_vpsub
   22110 $extrasub
   22111 _ACEOF
   22112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22113 :t
   22114 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22115 s|@configure_input@|$ac_sed_conf_input|;t t
   22116 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22117 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22118 s&@srcdir@&$ac_srcdir&;t t
   22119 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22120 s&@top_srcdir@&$ac_top_srcdir&;t t
   22121 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22122 s&@builddir@&$ac_builddir&;t t
   22123 s&@abs_builddir@&$ac_abs_builddir&;t t
   22124 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22125 s&@INSTALL@&$ac_INSTALL&;t t
   22126 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22127 $ac_datarootdir_hack
   22128 "
   22129 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22130   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22131 
   22132 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22133   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22134   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22135       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22136   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   22137 which seems to be undefined.  Please make sure it is defined" >&5
   22138 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   22139 which seems to be undefined.  Please make sure it is defined" >&2;}
   22140 
   22141   rm -f "$ac_tmp/stdin"
   22142   case $ac_file in
   22143   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22144   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22145   esac \
   22146   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22147  ;;
   22148   :H)
   22149   #
   22150   # CONFIG_HEADER
   22151   #
   22152   if test x"$ac_file" != x-; then
   22153     {
   22154       printf "%s\n" "/* $configure_input  */" >&1 \
   22155       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22156     } >"$ac_tmp/config.h" \
   22157       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22158     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22159       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22160 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   22161     else
   22162       rm -f "$ac_file"
   22163       mv "$ac_tmp/config.h" "$ac_file" \
   22164 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22165     fi
   22166   else
   22167     printf "%s\n" "/* $configure_input  */" >&1 \
   22168       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22169       || as_fn_error $? "could not create -" "$LINENO" 5
   22170   fi
   22171 # Compute "$ac_file"'s index in $config_headers.
   22172 _am_arg="$ac_file"
   22173 _am_stamp_count=1
   22174 for _am_header in $config_headers :; do
   22175   case $_am_header in
   22176     $_am_arg | $_am_arg:* )
   22177       break ;;
   22178     * )
   22179       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22180   esac
   22181 done
   22182 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22183 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22184 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22185 	 X"$_am_arg" : 'X\(//\)$' \| \
   22186 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22187 printf "%s\n" X"$_am_arg" |
   22188     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22189 	    s//\1/
   22190 	    q
   22191 	  }
   22192 	  /^X\(\/\/\)[^/].*/{
   22193 	    s//\1/
   22194 	    q
   22195 	  }
   22196 	  /^X\(\/\/\)$/{
   22197 	    s//\1/
   22198 	    q
   22199 	  }
   22200 	  /^X\(\/\).*/{
   22201 	    s//\1/
   22202 	    q
   22203 	  }
   22204 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22205  ;;
   22206 
   22207   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22208 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   22209  ;;
   22210   esac
   22211 
   22212 
   22213   case $ac_file$ac_mode in
   22214     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22215   # Older Autoconf quotes --file arguments for eval, but not when files
   22216   # are listed without --file.  Let's play safe and only enable the eval
   22217   # if we detect the quoting.
   22218   # TODO: see whether this extra hack can be removed once we start
   22219   # requiring Autoconf 2.70 or later.
   22220   case $CONFIG_FILES in #(
   22221   *\'*) :
   22222     eval set x "$CONFIG_FILES" ;; #(
   22223   *) :
   22224     set x $CONFIG_FILES ;; #(
   22225   *) :
   22226      ;;
   22227 esac
   22228   shift
   22229   # Used to flag and report bootstrapping failures.
   22230   am_rc=0
   22231   for am_mf
   22232   do
   22233     # Strip MF so we end up with the name of the file.
   22234     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   22235     # Check whether this is an Automake generated Makefile which includes
   22236     # dependency-tracking related rules and includes.
   22237     # Grep'ing the whole file directly is not great: AIX grep has a line
   22238     # limit of 2048, but all sed's we know have understand at least 4000.
   22239     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   22240       || continue
   22241     am_dirpart=`$as_dirname -- "$am_mf" ||
   22242 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22243 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   22244 	 X"$am_mf" : 'X\(//\)$' \| \
   22245 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22246 printf "%s\n" X"$am_mf" |
   22247     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22248 	    s//\1/
   22249 	    q
   22250 	  }
   22251 	  /^X\(\/\/\)[^/].*/{
   22252 	    s//\1/
   22253 	    q
   22254 	  }
   22255 	  /^X\(\/\/\)$/{
   22256 	    s//\1/
   22257 	    q
   22258 	  }
   22259 	  /^X\(\/\).*/{
   22260 	    s//\1/
   22261 	    q
   22262 	  }
   22263 	  s/.*/./; q'`
   22264     am_filepart=`$as_basename -- "$am_mf" ||
   22265 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   22266 	 X"$am_mf" : 'X\(//\)$' \| \
   22267 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22268 printf "%s\n" X/"$am_mf" |
   22269     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22270 	    s//\1/
   22271 	    q
   22272 	  }
   22273 	  /^X\/\(\/\/\)$/{
   22274 	    s//\1/
   22275 	    q
   22276 	  }
   22277 	  /^X\/\(\/\).*/{
   22278 	    s//\1/
   22279 	    q
   22280 	  }
   22281 	  s/.*/./; q'`
   22282     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   22283       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22284         | $MAKE -f - am--depfiles" >&5
   22285    (cd "$am_dirpart" \
   22286       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22287         | $MAKE -f - am--depfiles) >&5 2>&5
   22288    ac_status=$?
   22289    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22290    (exit $ac_status); } || am_rc=$?
   22291   done
   22292   if test $am_rc -ne 0; then
   22293     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   22294 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   22295 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   22296     for automatic dependency tracking.  If GNU make was not used, consider
   22297     re-running the configure script with MAKE=\"gmake\" (or whatever is
   22298     necessary).  You can also try re-running configure with the
   22299     '--disable-dependency-tracking' option to at least be able to build
   22300     the package (albeit without support for automatic dependency tracking).
   22301 See 'config.log' for more details" "$LINENO" 5; }
   22302   fi
   22303   { am_dirpart=; unset am_dirpart;}
   22304   { am_filepart=; unset am_filepart;}
   22305   { am_mf=; unset am_mf;}
   22306   { am_rc=; unset am_rc;}
   22307   rm -f conftest-deps.mk
   22308 }
   22309  ;;
   22310     "libtool":C)
   22311 
   22312     # See if we are running on zsh, and set the options that allow our
   22313     # commands through without removal of \ escapes.
   22314     if test -n "${ZSH_VERSION+set}"; then
   22315       setopt NO_GLOB_SUBST
   22316     fi
   22317 
   22318     cfgfile=${ofile}T
   22319     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22320     $RM "$cfgfile"
   22321 
   22322     cat <<_LT_EOF >> "$cfgfile"
   22323 #! $SHELL
   22324 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22325 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22326 
   22327 # Provide generalized library-building support services.
   22328 # Written by Gordon Matzigkeit, 1996
   22329 
   22330 # Copyright (C) 2024 Free Software Foundation, Inc.
   22331 # This is free software; see the source for copying conditions.  There is NO
   22332 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22333 
   22334 # GNU Libtool is free software; you can redistribute it and/or modify
   22335 # it under the terms of the GNU General Public License as published by
   22336 # the Free Software Foundation; either version 2 of the License, or
   22337 # (at your option) any later version.
   22338 #
   22339 # As a special exception to the GNU General Public License, if you
   22340 # distribute this file as part of a program or library that is built
   22341 # using GNU Libtool, you may include this file under the  same
   22342 # distribution terms that you use for the rest of that program.
   22343 #
   22344 # GNU Libtool is distributed in the hope that it will be useful, but
   22345 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22346 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22347 # GNU General Public License for more details.
   22348 #
   22349 # You should have received a copy of the GNU General Public License
   22350 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22351 
   22352 
   22353 # The names of the tagged configurations supported by this script.
   22354 available_tags=''
   22355 
   22356 # Configured defaults for sys_lib_dlsearch_path munging.
   22357 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22358 
   22359 # ### BEGIN LIBTOOL CONFIG
   22360 
   22361 # Which release of libtool.m4 was used?
   22362 macro_version=$macro_version
   22363 macro_revision=$macro_revision
   22364 
   22365 # Whether or not to build shared libraries.
   22366 build_libtool_libs=$enable_shared
   22367 
   22368 # Whether or not to build static libraries.
   22369 build_old_libs=$enable_static
   22370 
   22371 # What type of objects to build.
   22372 pic_mode=$pic_mode
   22373 
   22374 # Whether or not to optimize for fast installation.
   22375 fast_install=$enable_fast_install
   22376 
   22377 # Shared archive member basename,for filename based shared library versioning on AIX.
   22378 shared_archive_member_spec=$shared_archive_member_spec
   22379 
   22380 # Shell to use when invoking shell scripts.
   22381 SHELL=$lt_SHELL
   22382 
   22383 # An echo program that protects backslashes.
   22384 ECHO=$lt_ECHO
   22385 
   22386 # The PATH separator for the build system.
   22387 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22388 
   22389 # The host system.
   22390 host_alias=$host_alias
   22391 host=$host
   22392 host_os=$host_os
   22393 
   22394 # The build system.
   22395 build_alias=$build_alias
   22396 build=$build
   22397 build_os=$build_os
   22398 
   22399 # A sed program that does not truncate output.
   22400 SED=$lt_SED
   22401 
   22402 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22403 Xsed="\$SED -e 1s/^X//"
   22404 
   22405 # A grep program that handles long lines.
   22406 GREP=$lt_GREP
   22407 
   22408 # An ERE matcher.
   22409 EGREP=$lt_EGREP
   22410 
   22411 # A literal string matcher.
   22412 FGREP=$lt_FGREP
   22413 
   22414 # A BSD- or MS-compatible name lister.
   22415 NM=$lt_NM
   22416 
   22417 # Whether we need soft or hard links.
   22418 LN_S=$lt_LN_S
   22419 
   22420 # What is the maximum length of a command?
   22421 max_cmd_len=$max_cmd_len
   22422 
   22423 # Object file suffix (normally "o").
   22424 objext=$ac_objext
   22425 
   22426 # Executable file suffix (normally "").
   22427 exeext=$exeext
   22428 
   22429 # whether the shell understands "unset".
   22430 lt_unset=$lt_unset
   22431 
   22432 # turn spaces into newlines.
   22433 SP2NL=$lt_lt_SP2NL
   22434 
   22435 # turn newlines into spaces.
   22436 NL2SP=$lt_lt_NL2SP
   22437 
   22438 # convert \$build file names to \$host format.
   22439 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22440 
   22441 # convert \$build files to toolchain format.
   22442 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22443 
   22444 # A file(cmd) program that detects file types.
   22445 FILECMD=$lt_FILECMD
   22446 
   22447 # An object symbol dumper.
   22448 OBJDUMP=$lt_OBJDUMP
   22449 
   22450 # Method to check whether dependent libraries are shared objects.
   22451 deplibs_check_method=$lt_deplibs_check_method
   22452 
   22453 # Command to use when deplibs_check_method = "file_magic".
   22454 file_magic_cmd=$lt_file_magic_cmd
   22455 
   22456 # How to find potential files when deplibs_check_method = "file_magic".
   22457 file_magic_glob=$lt_file_magic_glob
   22458 
   22459 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22460 want_nocaseglob=$lt_want_nocaseglob
   22461 
   22462 # DLL creation program.
   22463 DLLTOOL=$lt_DLLTOOL
   22464 
   22465 # Command to associate shared and link libraries.
   22466 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22467 
   22468 # The archiver.
   22469 AR=$lt_AR
   22470 
   22471 # Flags to create an archive (by configure).
   22472 lt_ar_flags=$lt_ar_flags
   22473 
   22474 # Flags to create an archive.
   22475 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   22476 
   22477 # How to feed a file listing to the archiver.
   22478 archiver_list_spec=$lt_archiver_list_spec
   22479 
   22480 # A symbol stripping program.
   22481 STRIP=$lt_STRIP
   22482 
   22483 # Commands used to install an old-style archive.
   22484 RANLIB=$lt_RANLIB
   22485 old_postinstall_cmds=$lt_old_postinstall_cmds
   22486 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22487 
   22488 # Whether to use a lock for old archive extraction.
   22489 lock_old_archive_extraction=$lock_old_archive_extraction
   22490 
   22491 # A C compiler.
   22492 LTCC=$lt_CC
   22493 
   22494 # LTCC compiler flags.
   22495 LTCFLAGS=$lt_CFLAGS
   22496 
   22497 # Take the output of nm and produce a listing of raw symbols and C names.
   22498 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22499 
   22500 # Transform the output of nm in a proper C declaration.
   22501 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22502 
   22503 # Transform the output of nm into a list of symbols to manually relocate.
   22504 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22505 
   22506 # Transform the output of nm in a C name address pair.
   22507 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22508 
   22509 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22510 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22511 
   22512 # The name lister interface.
   22513 nm_interface=$lt_lt_cv_nm_interface
   22514 
   22515 # Specify filename containing input files for \$NM.
   22516 nm_file_list_spec=$lt_nm_file_list_spec
   22517 
   22518 # The root where to search for dependent libraries,and where our libraries should be installed.
   22519 lt_sysroot=$lt_sysroot
   22520 
   22521 # Command to truncate a binary pipe.
   22522 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22523 
   22524 # The name of the directory that contains temporary libtool files.
   22525 objdir=$objdir
   22526 
   22527 # Used to examine libraries when file_magic_cmd begins with "file".
   22528 MAGIC_CMD=$MAGIC_CMD
   22529 
   22530 # Must we lock files when doing compilation?
   22531 need_locks=$lt_need_locks
   22532 
   22533 # Manifest tool.
   22534 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22535 
   22536 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22537 DSYMUTIL=$lt_DSYMUTIL
   22538 
   22539 # Tool to change global to local symbols on Mac OS X.
   22540 NMEDIT=$lt_NMEDIT
   22541 
   22542 # Tool to manipulate fat objects and archives on Mac OS X.
   22543 LIPO=$lt_LIPO
   22544 
   22545 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22546 OTOOL=$lt_OTOOL
   22547 
   22548 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22549 OTOOL64=$lt_OTOOL64
   22550 
   22551 # Old archive suffix (normally "a").
   22552 libext=$libext
   22553 
   22554 # Shared library suffix (normally ".so").
   22555 shrext_cmds=$lt_shrext_cmds
   22556 
   22557 # The commands to extract the exported symbol list from a shared archive.
   22558 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22559 
   22560 # Variables whose values should be saved in libtool wrapper scripts and
   22561 # restored at link time.
   22562 variables_saved_for_relink=$lt_variables_saved_for_relink
   22563 
   22564 # Do we need the "lib" prefix for modules?
   22565 need_lib_prefix=$need_lib_prefix
   22566 
   22567 # Do we need a version for libraries?
   22568 need_version=$need_version
   22569 
   22570 # Library versioning type.
   22571 version_type=$version_type
   22572 
   22573 # Shared library runtime path variable.
   22574 runpath_var=$runpath_var
   22575 
   22576 # Shared library path variable.
   22577 shlibpath_var=$shlibpath_var
   22578 
   22579 # Is shlibpath searched before the hard-coded library search path?
   22580 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22581 
   22582 # Format of library name prefix.
   22583 libname_spec=$lt_libname_spec
   22584 
   22585 # List of archive names.  First name is the real one, the rest are links.
   22586 # The last name is the one that the linker finds with -lNAME
   22587 library_names_spec=$lt_library_names_spec
   22588 
   22589 # The coded name of the library, if different from the real name.
   22590 soname_spec=$lt_soname_spec
   22591 
   22592 # Permission mode override for installation of shared libraries.
   22593 install_override_mode=$lt_install_override_mode
   22594 
   22595 # Command to use after installation of a shared archive.
   22596 postinstall_cmds=$lt_postinstall_cmds
   22597 
   22598 # Command to use after uninstallation of a shared archive.
   22599 postuninstall_cmds=$lt_postuninstall_cmds
   22600 
   22601 # Commands used to finish a libtool library installation in a directory.
   22602 finish_cmds=$lt_finish_cmds
   22603 
   22604 # As "finish_cmds", except a single script fragment to be evaled but
   22605 # not shown.
   22606 finish_eval=$lt_finish_eval
   22607 
   22608 # Whether we should hardcode library paths into libraries.
   22609 hardcode_into_libs=$hardcode_into_libs
   22610 
   22611 # Compile-time system search path for libraries.
   22612 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22613 
   22614 # Detected run-time system search path for libraries.
   22615 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22616 
   22617 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22618 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22619 
   22620 # Whether dlopen is supported.
   22621 dlopen_support=$enable_dlopen
   22622 
   22623 # Whether dlopen of programs is supported.
   22624 dlopen_self=$enable_dlopen_self
   22625 
   22626 # Whether dlopen of statically linked programs is supported.
   22627 dlopen_self_static=$enable_dlopen_self_static
   22628 
   22629 # Commands to strip libraries.
   22630 old_striplib=$lt_old_striplib
   22631 striplib=$lt_striplib
   22632 
   22633 
   22634 # The linker used to build libraries.
   22635 LD=$lt_LD
   22636 
   22637 # How to create reloadable object files.
   22638 reload_flag=$lt_reload_flag
   22639 reload_cmds=$lt_reload_cmds
   22640 
   22641 # Commands used to build an old-style archive.
   22642 old_archive_cmds=$lt_old_archive_cmds
   22643 
   22644 # A language specific compiler.
   22645 CC=$lt_compiler
   22646 
   22647 # Is the compiler the GNU compiler?
   22648 with_gcc=$GCC
   22649 
   22650 # Compiler flag to turn off builtin functions.
   22651 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22652 
   22653 # Additional compiler flags for building library objects.
   22654 pic_flag=$lt_lt_prog_compiler_pic
   22655 
   22656 # How to pass a linker flag through the compiler.
   22657 wl=$lt_lt_prog_compiler_wl
   22658 
   22659 # Compiler flag to prevent dynamic linking.
   22660 link_static_flag=$lt_lt_prog_compiler_static
   22661 
   22662 # Does compiler simultaneously support -c and -o options?
   22663 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22664 
   22665 # Whether or not to add -lc for building shared libraries.
   22666 build_libtool_need_lc=$archive_cmds_need_lc
   22667 
   22668 # Whether or not to disallow shared libs when runtime libs are static.
   22669 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22670 
   22671 # Compiler flag to allow reflexive dlopens.
   22672 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22673 
   22674 # Compiler flag to generate shared objects directly from archives.
   22675 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22676 
   22677 # Whether the compiler copes with passing no objects directly.
   22678 compiler_needs_object=$lt_compiler_needs_object
   22679 
   22680 # Create an old-style archive from a shared archive.
   22681 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22682 
   22683 # Create a temporary old-style archive to link instead of a shared archive.
   22684 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22685 
   22686 # Commands used to build a shared archive.
   22687 archive_cmds=$lt_archive_cmds
   22688 archive_expsym_cmds=$lt_archive_expsym_cmds
   22689 
   22690 # Commands used to build a loadable module if different from building
   22691 # a shared archive.
   22692 module_cmds=$lt_module_cmds
   22693 module_expsym_cmds=$lt_module_expsym_cmds
   22694 
   22695 # Whether we are building with GNU ld or not.
   22696 with_gnu_ld=$lt_with_gnu_ld
   22697 
   22698 # Flag that allows shared libraries with undefined symbols to be built.
   22699 allow_undefined_flag=$lt_allow_undefined_flag
   22700 
   22701 # Flag that enforces no undefined symbols.
   22702 no_undefined_flag=$lt_no_undefined_flag
   22703 
   22704 # Flag to hardcode \$libdir into a binary during linking.
   22705 # This must work even if \$libdir does not exist
   22706 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22707 
   22708 # Whether we need a single "-rpath" flag with a separated argument.
   22709 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22710 
   22711 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22712 # DIR into the resulting binary.
   22713 hardcode_direct=$hardcode_direct
   22714 
   22715 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22716 # DIR into the resulting binary and the resulting library dependency is
   22717 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   22718 # library is relocated.
   22719 hardcode_direct_absolute=$hardcode_direct_absolute
   22720 
   22721 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22722 # into the resulting binary.
   22723 hardcode_minus_L=$hardcode_minus_L
   22724 
   22725 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22726 # into the resulting binary.
   22727 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22728 
   22729 # Set to "yes" if building a shared library automatically hardcodes DIR
   22730 # into the library and all subsequent libraries and executables linked
   22731 # against it.
   22732 hardcode_automatic=$hardcode_automatic
   22733 
   22734 # Set to yes if linker adds runtime paths of dependent libraries
   22735 # to runtime path list.
   22736 inherit_rpath=$inherit_rpath
   22737 
   22738 # Whether libtool must link a program against all its dependency libraries.
   22739 link_all_deplibs=$link_all_deplibs
   22740 
   22741 # Set to "yes" if exported symbols are required.
   22742 always_export_symbols=$always_export_symbols
   22743 
   22744 # The commands to list exported symbols.
   22745 export_symbols_cmds=$lt_export_symbols_cmds
   22746 
   22747 # Symbols that should not be listed in the preloaded symbols.
   22748 exclude_expsyms=$lt_exclude_expsyms
   22749 
   22750 # Symbols that must always be exported.
   22751 include_expsyms=$lt_include_expsyms
   22752 
   22753 # Commands necessary for linking programs (against libraries) with templates.
   22754 prelink_cmds=$lt_prelink_cmds
   22755 
   22756 # Commands necessary for finishing linking programs.
   22757 postlink_cmds=$lt_postlink_cmds
   22758 
   22759 # Specify filename containing input files.
   22760 file_list_spec=$lt_file_list_spec
   22761 
   22762 # How to hardcode a shared library path into an executable.
   22763 hardcode_action=$hardcode_action
   22764 
   22765 # ### END LIBTOOL CONFIG
   22766 
   22767 _LT_EOF
   22768 
   22769     cat <<'_LT_EOF' >> "$cfgfile"
   22770 
   22771 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22772 
   22773 # func_munge_path_list VARIABLE PATH
   22774 # -----------------------------------
   22775 # VARIABLE is name of variable containing _space_ separated list of
   22776 # directories to be munged by the contents of PATH, which is string
   22777 # having a format:
   22778 # "DIR[:DIR]:"
   22779 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22780 # ":DIR[:DIR]"
   22781 #       string "DIR[ DIR]" will be appended to VARIABLE
   22782 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22783 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22784 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22785 # "DIR[:DIR]"
   22786 #       VARIABLE will be replaced by "DIR[ DIR]"
   22787 func_munge_path_list ()
   22788 {
   22789     case x$2 in
   22790     x)
   22791         ;;
   22792     *:)
   22793         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22794         ;;
   22795     x:*)
   22796         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22797         ;;
   22798     *::*)
   22799         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22800         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22801         ;;
   22802     *)
   22803         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22804         ;;
   22805     esac
   22806 }
   22807 
   22808 
   22809 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22810 func_cc_basename ()
   22811 {
   22812     for cc_temp in $*""; do
   22813       case $cc_temp in
   22814         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22815         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22816         \-*) ;;
   22817         *) break;;
   22818       esac
   22819     done
   22820     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22821 }
   22822 
   22823 
   22824 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22825 
   22826 _LT_EOF
   22827 
   22828   case $host_os in
   22829   aix3*)
   22830     cat <<\_LT_EOF >> "$cfgfile"
   22831 # AIX sometimes has problems with the GCC collect2 program.  For some
   22832 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22833 # vanish in a puff of smoke.
   22834 if test set != "${COLLECT_NAMES+set}"; then
   22835   COLLECT_NAMES=
   22836   export COLLECT_NAMES
   22837 fi
   22838 _LT_EOF
   22839     ;;
   22840   esac
   22841 
   22842 
   22843 
   22844 ltmain=$ac_aux_dir/ltmain.sh
   22845 
   22846 
   22847   # We use sed instead of cat because bash on DJGPP gets confused if
   22848   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22849   # text mode, it properly converts lines to CR/LF.  This bash problem
   22850   # is reportedly fixed, but why not run on old versions too?
   22851   $SED '$q' "$ltmain" >> "$cfgfile" \
   22852      || (rm -f "$cfgfile"; exit 1)
   22853 
   22854    mv -f "$cfgfile" "$ofile" ||
   22855     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22856   chmod +x "$ofile"
   22857 
   22858  ;;
   22859 
   22860   esac
   22861 done # for ac_tag
   22862 
   22863 
   22864 as_fn_exit 0
   22865 _ACEOF
   22866 ac_clean_files=$ac_clean_files_save
   22867 
   22868 test $ac_write_fail = 0 ||
   22869   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22870 
   22871 
   22872 # configure is writing to config.log, and then calls config.status.
   22873 # config.status does its own redirection, appending to config.log.
   22874 # Unfortunately, on DOS this fails, as config.log is still kept open
   22875 # by configure, so config.status won't be able to write to it; its
   22876 # output is simply discarded.  So we exec the FD to /dev/null,
   22877 # effectively closing config.log, so it can be properly (re)opened and
   22878 # appended to by config.status.  When coming back to configure, we
   22879 # need to make the FD available again.
   22880 if test "$no_create" != yes; then
   22881   ac_cs_success=:
   22882   ac_config_status_args=
   22883   test "$silent" = yes &&
   22884     ac_config_status_args="$ac_config_status_args --quiet"
   22885   exec 5>/dev/null
   22886   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22887   exec 5>>config.log
   22888   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22889   # would make configure fail if this is the last instruction.
   22890   $ac_cs_success || as_fn_exit 1
   22891 fi
   22892 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22893   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22894 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22895 fi
   22896 
   22897 
   22898